nhentai-favorites/README.md
2024-02-22 19:21:58 +08:00

26 lines
818 B
Markdown

# nhentai-favorites
## 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)