poire
This commit is contained in:
parent
aa7cf29eb8
commit
75da5242d0
2
crawl.py
2
crawl.py
|
@ -25,7 +25,7 @@ from termcolor import colored
|
|||
# Load scraper
|
||||
from yggcrawl import YggTorrentScraper
|
||||
scraper = YggTorrentScraper(requests.session())
|
||||
from yggtorrentscraper import set_yggtorrent_tld
|
||||
from yggcrawl import set_yggtorrent_tld
|
||||
set_yggtorrent_tld("se")
|
||||
name = ' '.join(sys.argv[1:])
|
||||
|
||||
|
|
12
install.sh
12
install.sh
|
@ -28,9 +28,15 @@ sbotc() {
|
|||
}
|
||||
|
||||
# Install Transmission
|
||||
transmisison() {
|
||||
transmission() {
|
||||
echo -e "${c_yellow}Installing Transmision...$c_"
|
||||
sudo apt install transmission-daemon --install-suggests
|
||||
sudo apt install transmission-cli
|
||||
|
||||
# stop
|
||||
# Copy login.py info to /etc/transmission/settings.json
|
||||
# start
|
||||
|
||||
}
|
||||
|
||||
# Install pip tools
|
||||
|
@ -68,8 +74,8 @@ pip3() {
|
|||
iptubes() {
|
||||
[[ -z $(which pip3) ]] && pip3
|
||||
/usr/bin/pip3 install $(curl -s https://raw.githubusercontent.com/Harkame/YggTorrentScraper/master/requirements.txt)
|
||||
chgrp -R debian-transmission data/
|
||||
chmod -R g+w data/
|
||||
sudo chgrp -R debian-transmission data/
|
||||
sudo chmod -R g+w data/
|
||||
sudo service transmission-daemon restart
|
||||
cp login.py.template login.py
|
||||
cd lib/py/
|
||||
|
|
|
@ -16,7 +16,7 @@ try:
|
|||
except NameError:
|
||||
from yggcrawl import YggTorrentScraper
|
||||
scraper = YggTorrentScraper(requests.session())
|
||||
from yggtorrentscraper import set_yggtorrent_tld
|
||||
from yggcrawl import set_yggtorrent_tld
|
||||
set_yggtorrent_tld("se")
|
||||
|
||||
cmd = sys.argv[1]
|
||||
|
|
Loading…
Reference in New Issue