This commit is contained in:
qo-op 2020-03-26 21:30:50 +01:00
parent aa7cf29eb8
commit 75da5242d0
3 changed files with 11 additions and 5 deletions

View File

@ -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:])

View File

@ -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/

View File

@ -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]