From 884ed824e346235d805530bf3fee6d89b58a19f8 Mon Sep 17 00:00:00 2001 From: phillychi3 Date: Thu, 22 Feb 2024 19:21:58 +0800 Subject: [PATCH] feat: update readme --- README.md | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 7589a6f..82e2988 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,25 @@ -# 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 - - -![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) +# 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 +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)