-
Notifications
You must be signed in to change notification settings - Fork 1
403 when updating cache
Arthur Bols edited this page Aug 6, 2019
·
2 revisions
This is commonly caused by Cloudflare security check.
If you see a security check when surfing to tldr.sh, submit it and copy the __cfduid
and cf_clearance
cookie and your browsers user-agent.
Launch tldr-sharp with the user-agent and cookies like this:
TLDR_USER_AGENT="Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" TLDR_COOKIE="__cfduid=<some-cookie>; cf_clearance=<some-cookie>" tldr -u
- Open devtools (right-click and
Inspect Element
orInspect
) - Open Network
- Reload the page and click on the first request
- On the right, there is a column with request headers, there you can find the cookie and user-agent.