No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kenzie tandun e6e324e67a LICENSE 2 years ago
LICENSE LICENSE 2 years ago
README.md smaller 2 years ago
config.txt update 2 years ago
downloader.py fix not working with cronjobs because can't file db file 2 years ago
requirements.txt first commit 2 years ago
rss_parser.py use nyaa.si and some fixes for single quotes 2 years ago

README.md

nyaa-up

nyaa is down but nyaa-up is here to save the day

Why?

With nyaa down, I’m too lazy to get flexget working with other RSS feeds. So I just write my own.

Requirements

  • A working internet connection

  • python3 and (optional) virtualenv

  • transmission-daemon

Installation

  • Clone this repository:

git clone https://git.teknik.io/kenziefc/nyaa-up.git

  • (Optional) Create a virtualenv:

cd nyaa-up && virtualenv -p python3 ./ && source bin/activate

  • Install requirements:

pip install -r requirements.txt

Usage

  • (Optional) Activate the virtualenv if you’re using one:

cd nyaa-up && source bin/activate

  • Change settings in config.txt to your liking
[nyaa]
titles = [ "mashin" ]
quality = 320k
url = https://nyaa.si/?page=rss&c=2_2&f=0
dest_dir = /var/www/html/torrents/anisong

[transmission]
host = localhost
port = 9091
username = admin
password = water
download_dir = /var/www/html/torrents/unsortedanime/
database = db.txt
torrent_files = /var/www/html/torrents/torrentfiles/

[horrible]
titles = [ "tsuki ga kirei",
           "little witch academia",
           "saekano"
         ]
quality = 1080p
url = http://horriblesubs.info/rss.php?res=1080
  • Run downloader.py

./downloader.py

  • Or if you want it to run in periodically, put it in a cronjob
crontab -e
*/30 * * * * ~/nyaa-up/bin/python3 ~/nyaa-up/downloader.py