maint: meme radme

This commit is contained in:
6arelyFuture 2024-09-05 13:51:25 +02:00
parent 7c25a2d364
commit 282ba2f695
Signed by: Future
GPG Key ID: F2000F181A4F7C85

View File

@ -4,6 +4,10 @@ Zǎoshang hǎo zhōngguó xiànzài wǒ yǒu BING CHILLING 🥶🍦 wǒ hěn xǐ
This project is a meme but it works until you have too many favorites to scrape and you get rate limited, or so I was told by a friend, not that I would know. This project is a meme but it works until you have too many favorites to scrape and you get rate limited, or so I was told by a friend, not that I would know.
This is the culmination of 3 years of computer science at an expensive university and totally what i should be doing in my free time
Now has code that will skip a query to their API if the torrent file for that ID already exists, this may be necessary as scraping continously will get you rate limited after a while. However you seem to be allowed to download thousands of files at a time.
## how to use? ## how to use?
`pip install -r ".\requirements.txt"` `pip install -r ".\requirements.txt"`
@ -11,6 +15,11 @@ open `nfavorites.py` and it will close and generate set.yaml
open `set.yaml` and enter your cookie and useragent open `set.yaml` and enter your cookie and useragent
final open nfavorites.py again and it will generate csv file if everything is ok final open nfavorites.py again and it will generate csv file if everything is ok
## how download ?
After completing the steps above run scraper.py which will read your dumped ids and will download the torrent files.
Proceed to open the torrent files enmasse using your favorite torrent client (i use qbittorent)
## how to get my cookie? ## how to get my cookie?
open <https://nhentai.net/favorites/> open <https://nhentai.net/favorites/>