nhentai-favorites/README.md

30 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# nhentai-favorites
Zǎoshang hǎo zhōngguó xiànzài wǒ yǒu BING CHILLING 🥶🍦 wǒ hěn xǐhuān BING CHILLING 🥶🍦 dànshì sùdù yǔ jīqíng 9 bǐ BING CHILLING 🥶🍦 sùdù yǔ jīqíng sùdù yǔ jīqíng 9 wǒ zuì xǐhuān suǒyǐ…xiànzài shì yīnyuè shíjiān zhǔnbèi 1 2 3 liǎng gè lǐbài yǐhòu sùdù yǔ jīqíng 9 ×3 bùyào wàngjì bùyào cu òguò jìdé qù diànyǐngyuàn kàn sùdù yǔ jīqíng 9 yīn wéi fēicháng hǎo diànyǐng dòngzuò fēicháng hǎo chàbùduō yīyàng BING CHILLING 🥶🍦zàijiàn 🥶🍦
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.
## how to use?
`pip install -r ".\requirements.txt"`
open `nfavorites.py` and it will close and generate set.yaml
open `set.yaml` and enter your cookie and useragent
final open nfavorites.py again and it will generate csv file if everything is ok
## how to get my cookie?
open <https://nhentai.net/favorites/>
open developer tools (F12)
switch to network tab
find favorites/ and click it
find cookie and useragent in request headers
## if something goes wrong in gettags
rename `example_tag.json` to `tag.json`
rerun `nfavorites.py`
![alt text](https://github.com/phillychi3/nhentai-favorites/blob/main/image/nhentai_cookie_anduseranegt.png?raw=true)
![alt text](https://github.com/phillychi3/nhentai-favorites/blob/main/image/csv.png?raw=true)