edit readme

This commit is contained in:
phillychi3 2023-03-12 15:52:41 +08:00
parent 7ce50dde93
commit 55d27d0402

View File

@ -2,19 +2,19 @@
### how to use? ### how to use?
`pip install -r ".\requirements.txt"` `pip install -r ".\requirements.txt"`
open nfavorites.py and it will close and generate set.yaml
Rename_me_set.yaml (rename)-> set.yaml open set.yaml and enter your cookie and useragent
enter your cookie and useragent final open nfavorites.py again and it will generate csv file if everything is ok
open nfavorites.py
### how to get my cookie? ### how to get my cookie?
open https://nhentai.net/favorites/ open https://nhentai.net/favorites/
press F12 open developer tools (F12)
switch to network menu switch to network tab
find favorites/ find favorites/ and click it
copy cookie and useragent to set.yaml find cookie and useragent in request headers
![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/nhentai_cookie_anduseranegt.png?raw=true)