Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support hkanime.com.hk & Clouflare anti-bot challenge #1914

Open
4 of 6 tasks
sploc33 opened this issue Dec 12, 2024 · 2 comments
Open
4 of 6 tasks

Support hkanime.com.hk & Clouflare anti-bot challenge #1914

sploc33 opened this issue Dec 12, 2024 · 2 comments
Labels
enhancement New feature or request new issue This issue is not triaged

Comments

@sploc33
Copy link

sploc33 commented Dec 12, 2024

Checklist

  • This feature I'm requesting is already implemented in yt-dlp.
  • This feature is merely a UI/UX update.
  • This feature is suitable for primary users with little knowledge about yt-dlp.
  • This feature is available for most websites, not only the video platform I use.
  • This feature is suitable for a large variety of videos.
  • This feature is not going to conflict with many of the existing options.

Is your feature request related to a problem? Please describe.

Potentially, if the supported platform also has Cloudflare anti-bot fronting their web api.

When I used Seal to download a video from https://www.hkanime.com.hk/animal/303x3x6 which is not yet supported by Seal, I got the below error:

App version: 1.13.1 (11312)
Device information: Android 14 (API 34)
Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi]
Yt-dlp version: 2024.12.06.161513

URL: https://www.hkanime.com.hk/animal/303x3x6
ERROR: [generic] Got HTTP Error 403 caused by Cloudflare anti-bot challenge; see https://github.com/yt-dlp/yt-dlp#impersonation for how to install the required impersonation dependency, and try again with --extractor-args "generic:impersonate"
cloudflare_bot_error

Describe the solution you'd like

  1. Support download of videos on https://www.hkanime.com.hk which has a huge collection of Cantonese-dubbed animes
  2. Successfully bypass Cloudflare anti-bot challenge to download video

Video link

Cloudflare anti-bot error: https://www.hkanime.com.hk/animal/303x3x6

Root domain for all videos: https://www.hkanime.com.hk

Additional context

No response

@sploc33 sploc33 added enhancement New feature or request new issue This issue is not triaged labels Dec 12, 2024
@error-reporting
Copy link

Request the first solution to yt-dlp issue repo

@sploc33
Copy link
Author

sploc33 commented Dec 14, 2024

Sorry, should've included the solution to issue repo. Here: yt-dlp/yt-dlp#9611

This yt-dlp browser impersonation solution seems to be relevant to the Cloudflare anti-bot error that Seal is throwing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new issue This issue is not triaged
Projects
None yet
Development

No branches or pull requests

2 participants