]> git.lizzy.rs Git - nhentai.git/commitdiff
Update README.rst
authorkrrr <guogaishiwo@gmail.com>
Mon, 2 May 2022 04:13:19 +0000 (12:13 +0800)
committerGitHub <noreply@github.com>
Mon, 2 May 2022 04:13:19 +0000 (12:13 +0800)
README.rst

index 86bb7694457b060e7b9208d17bac7a0990228f70..6e62bbc0bc55fc90c6f178f5c37c044c23961c12 100644 (file)
@@ -72,7 +72,10 @@ Set your nhentai cookie against captcha:
 
     nhentai --cookie "YOUR COOKIE FROM nhentai.net"
 
-**NOTE**: The format of the cookie is `"csrftoken=TOKEN; sessionid=ID; cf_chl_2=CLOUDFLARE; cf_chl_prog=CLOUDFLARE; cf_clearance=CLOUDFLARE"`
+**NOTE**
+
+- The format of the cookie is `"csrftoken=TOKEN; sessionid=ID; cf_clearance=CLOUDFLARE"`
+- `cf_clearance` cookie and useragent must be set if you encounter "blocked by cloudflare captcha" error. Make sure you use the same IP and useragent as when you got it
 
 | To get csrftoken and sessionid, first login to your nhentai account in web browser, then:
 | (Chrome) |ve| |ld| More tools    |ld| Developer tools     |ld| Application |ld| Storage |ld| Cookies |ld| https://nhentai.net