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

fix: yt-dlp reports SSL: CERTIFICATE_VERIFY_FAILED when using ani-cli #1449

Closed
wants to merge 2 commits into from

Conversation

candrapersada
Copy link
Contributor

@candrapersada candrapersada commented Oct 26, 2024

Pull Request Template

Type of change

  • Bug fix
  • Feature
  • Documentation update

Description

[generic] Extracting URL: https://www083.anicdnstream.info/videos/hls/frDyoc9zWBkHzNV7K6Rqeg/1729950029/49323/f5db347daf6fb...p.14.1703900366.m3u8
[generic] ep.14.1703900366: Downloading webpage
ERROR: [generic] Unable to download webpage: Failed to perform, ErrCode: 60, Reason: 'SSL certificate problem: certificate has expired'. This may be a libcurl error, See https://curl.se/libcurl/c/libcurl-errors.html first for more details. (caused by CertificateVerifyError("Failed to perform, ErrCode: 60, Reason: 'SSL certificate problem: certificate has expired'. This may be a libcurl error, See https://curl.se/libcurl/c/libcurl-errors.html first for more details.")); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

Checklist

  • any anime playing
  • bumped version

  • next, prev and replay work
  • -c history and continue work
  • -d downloads work
  • -s syncplay works
  • -q quality works
  • -v vlc works
  • -e select episode works
  • -S select index works
  • -r range selection works
  • --skip ani-skip works
  • --skip-title ani-skip title argument works
  • --no-detach no detach works
  • --dub and regular (sub) mode both work
  • all providers return links (not necessarily on a single anime, use debug mode to confirm)

  • -h help info is up to date
  • Readme is up to date
  • Man page is up to date

Additional Testcases

  • The safe bet: One Piece
  • Episode 0: Saenai Heroine no Sodatekata ♭
  • Unicode: Saenai Heroine no Sodatekata ♭
  • Non-whole episodes: Tensei shitara slime datta ken (ep. 24.5, ep. 24.9)

yt-dlp reports SSL: CERTIFICATE_VERIFY_FAILED when using ani-cli
yt-dlp reports SSL: CERTIFICATE_VERIFY_FAILED when using
@port19x
Copy link
Collaborator

port19x commented Nov 4, 2024

No.
This does not fix the issue, but rather disables HTTPS security guarantees.
As per your error output: SSL certificate problem: certificate has expired
This means the media host has made a classic administration mistake.
I'm willing to bet the host has already fixed their cert on their side.

@port19x port19x closed this Nov 4, 2024
@candrapersada candrapersada deleted the patch-1 branch November 4, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants