Skip to content

Commit 489087b

Browse files
authored
docs: add instructions for curl-impersonate (#1847)
1 parent 8caa4ee commit 489087b

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,15 @@ A cli to browse and watch anime (alone AND with friends). This tool scrapes the
5151

5252
## Fixing errors
5353

54-
If you encounter `No results found` (and are sure the prompt was correct) or any breaking issue, then make sure you are on **latest version** by typing
55-
`sudo ani-cli -U` to update on Linux, Mac and Android. On Windows, run `ani-cli -U`.
54+
If you encounter `Blocked by cloudflare. Try installing curl-impersonate` then install `curl-impersonate` from your respective package manager.
55+
If it is not available, then download from their [github](https://github.com/lwthiker/curl-impersonate) by running the following commands.
56+
57+
```sh
58+
curl -LO "https://github.com/lwthiker/curl-impersonate/releases/download/v0.6.1/curl-impersonate-v0.6.1.x86_64-linux-gnu.tar.gz"
59+
sudo tar xf curl-impersonate-v0.6.1.x86_64-linux-gnu.tar.gz -C /usr/local/bin
60+
```
61+
62+
For any other breaking issue, then make sure you are on **latest version** by typing `sudo ani-cli -U` to update on Linux, Mac and Android. On Windows, run `ani-cli -U`.
5663
If after this the issue persists then open an issue.
5764

5865
## Install

0 commit comments

Comments
 (0)