ani-cli icon indicating copy to clipboard operation
ani-cli copied to clipboard

i tried to watch but it prompted blocked by cloudflare

Open Sometimeidreamofs-a-v-i-n-g-w-o-r-l-d opened this issue 3 months ago • 5 comments

Make sure you are on the latest version by running ani-cli -U

Metadata (please complete the following information) Version: [5.0.2] OS: [iOS 12.5.7] Shell: [ISH IDK] Anime: [Frieren, Attack on titan]

Describe the bug Downloading is broken. It says something about an unsupported protocol, see screenshot.

Steps To Reproduce

  1. Run ani-cli -d flcl
  2. Choose 2 (fooly-cooly)
  3. Choose episode 1

Expected behavior Downloading should work

Screenshots (if applicable; you can just drag the image onto github. remove the following line if not needed) image-1786598888466.jpg image-1786599043950.jpg

Additional context I tried to fix repository and tried to install curl-impersonate it didn't work

I'm confident you didn't follow instructions correctly and haven't changed the repos to alpine edge

port19x avatar Aug 13 '26 08:08 port19x

@port19x what are the instructions?

ghost avatar Aug 17 '26 17:08 ghost

@port19x what are the instructions?

I will attempt to be more helpful then just saying read things. on the main page they added a line to cover this particular problem

Fixing errors

If you encounter Blocked by cloudflare. Try installing curl-impersonate then install curl-impersonate from your respective package manager. If it is not available, then download from their github by running the following commands.

curl -LO "https://github.com/lwthiker/curl-impersonate/releases/download/v0.6.1/curl-impersonate-v0.6.1.x86_64-linux-gnu.tar.gz" sudo tar xf curl-impersonate-v0.6.1.x86_64-linux-gnu.tar.gz -C /usr/local/bin

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. If after this the issue persists then open an issue.

ZeroProximity avatar Aug 27 '26 09:08 ZeroProximity

This will not work because iOS is neither GNU nor x86_64

port19x avatar Aug 27 '26 09:08 port19x

From the readme

cat > /etc/apk/repositories <<'EOF'
https://dl-cdn.alpinelinux.org/alpine/edge/main
https://dl-cdn.alpinelinux.org/alpine/edge/community
https://dl-cdn.alpinelinux.org/alpine/edge/testing
EOF

apk update
apk add --upgrade apk-tools
apk upgrade --available

port19x avatar Aug 27 '26 09:08 port19x