An application to scrape and open magnet links for fansub groups from nyaa.si where batches don't already exist.
An application to scrape and open magnet links for HorribleSubs/subsplease/Erai-raws torrents from nyaa.si. Useful for when batches don't exist or you don't have some particular episodes.
This scraper will search for the provided show at the specified quality on the corresponding groups page on nyaa.si and open the magnet links in your default BitTorrent client.
This is a modified version of my old HorribleSubs scraper, but made to work with a couple more groups: https://github.com/zaini/horriblesubsscraper
Video walkthrough (of horriblescraper, which is very similar): https://youtu.be/YAVOioo6PPM
Soon:
pip install -r requirements.txt
Find the list of group names [below.]
python nyaascraper.py -g <group_name> -s <show_name> -q <quality> -a <start_epsiode> -z <end_epsiode>
e.g.
python nyaascraper.py -s "shingeki no kyojin" -q 720 -a 10 -z 15 -g hs
python nyaascraper.py -s Gleipnir -q 1080 -a 0 -z 999 -g sp
If the group doesn't exist (or you don't specify a group) then Erai-raws will be used as a default.
python nyaascraper.py -s "shingeki no kyojin" -q 720 -a 10 -z 15 -g fakegroup
Enter the show's name as you would search for it on nyaa.si/user/INSERT_GROUP_NAME
Enter the quality you want. Usually just 480p, 720p or 1080p
Then enter the first episode and last episode you want to download. This is an inclusive range. e.g. Entering 10 and 15 will also download episodes 10 and 15.
You can add -f
or --file
at the end of the command to download the .torrent files instead of opening the magnets, although this is not suggested.
(in case it's not clear, you'll need to run all these commands from a terminal)
Group | Code |
---|---|
HorribleSubs | hs |
subsplease | sp |
Erai-raws | er |
kiyoshiisubs | kiyoshiisubs |
Mayansito | mayansito |
SmallSizedAnimations | ssa |
Ember_Encodes | ember |
If the specified show at the specified quality is not available, it will not be loaded and you'd have to check that manually. To avoid having to change the file download location for each torrent, change it on one torrent so it becomes the default then run the program. Your client may also allow you to check a box to not open up a dialog box.
This is a modified version of my old HorribleSubs scraper: https://github.com/zaini/horriblesubsscraper