yt-dlp: Implement AIA fetching - Funimation: urllib.error.URLError: SSL: CERTIFICATE_VERIFY_FAILED
Checklist
- I’m reporting a broken site
- I’ve verified that I’m running yt-dlp version 2022.05.18 (update instructions) or later (specify commit)
- I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
Mexico
Description
I was trying to download from Funimation using this command: _**yt-dlp.exe -N 16 -P “LOVE IS WAR” -u “REDACTED” -p “REDACTED.” -r 720p -v -i https://www.funimation.com/v/kaguya-sama-love-is-war/miyuki-shirogane-still-hasnt-done-it-kaguya-wants-to-be-figured-out-kaguya-wants-to-walk**_ and I got this error _urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (ssl.c:1091)
Then I added this command --no-check-certificate and it only worked for video tracks but not audio.
Verbose log
C:\Users\kArL\Desktop\WDL Encrypted Files\YouTube Dowloader>yt-dlp.exe -N 16 -P "LOVE IS WAR" -u "REDACTED" -p "REDACTED." -r 720p -v -i https://www.funimation.com/v/kaguya-sama-love-is-war/miyuki-shirogane-still-hasnt-done-it-kaguya-wants-to-be-figured-out-kaguya-wants-to-walk
[debug] Command-line config: ['-N', '16', '-P', 'LOVE IS WAR', '-u', 'PRIVATE', '-p', 'PRIVATE', '-r', '720p', '-v', '-i', 'https://www.funimation.com/v/kaguya-sama-love-is-war/miyuki-shirogane-still-hasnt-done-it-kaguya-wants-to-be-figured-out-kaguya-wants-to-walk']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.04.08 [7884ade] (win_exe)
[debug] Python version 3.7.9 (CPython 32bit) - Windows-10-10.0.19041-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg git-2019-10-31-7c872df, ffprobe git-2019-10-31-7c872df
[debug] Optional libraries: brotli, certifi, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[funimation:page] Logging in
[funimation:page] Checking geo-location
[debug] [funimation:page] Extracting URL: https://www.funimation.com/v/kaguya-sama-love-is-war/miyuki-shirogane-still-hasnt-done-it-kaguya-wants-to-be-figured-out-kaguya-wants-to-walk
[funimation:page] kaguya-sama-love-is-war_miyuki-shirogane-still-hasnt-done-it-kaguya-wants-to-be-figured-out-kaguya-wants-to-walk: Downloading JSON metadata
[debug] [Funimation] Extracting URL: https://www.funimation.com/player/811879
[Funimation] 811879: Downloading player webpage for 811879
ERROR: [Funimation] 811879: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)> (caused by URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)')))
File "yt_dlp\extractor\common.py", line 641, in extract
File "yt_dlp\extractor\funimation.py", line 185, in _real_extract
File "yt_dlp\extractor\common.py", line 935, in _download_webpage
File "yt_dlp\extractor\common.py", line 800, in _download_webpage_handle
File "yt_dlp\extractor\common.py", line 785, in _request_webpage
File "urllib\request.py", line 1350, in do_open
File "http\client.py", line 1277, in request
File "http\client.py", line 1323, in _send_request
File "http\client.py", line 1272, in endheaders
File "http\client.py", line 1032, in _send_output
File "http\client.py", line 972, in send
File "http\client.py", line 1447, in connect
File "ssl.py", line 423, in wrap_socket
File "ssl.py", line 870, in _create
File "ssl.py", line 1139, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "yt_dlp\extractor\common.py", line 767, in _request_webpage
File "yt_dlp\YoutubeDL.py", line 3601, in urlopen
File "urllib\request.py", line 525, in open
File "urllib\request.py", line 543, in _open
File "urllib\request.py", line 503, in _call_chain
File "yt_dlp\utils.py", line 1545, in https_open
File "urllib\request.py", line 1352, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)>
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 27 (11 by maintainers)
Um, I asked you to redact your password, not to share it. If a developer is willing to work on it, they will ask you to email (or discord DM etc) your password. You don’t need to share it publically
note for maintainers: please add the
can-share-account
labelNow speed is extremely slow.