Open tv21 opened 4 years ago
The current code still expects a numeric ID there... it'd be great to get a quick fix if possible :)
youtube-dl --verbose -F https://www.espn.com/watch/player/_/id/e67e0893-2ba6-4033-be6f-bddfe31bf267
[...]
[debug] youtube-dl version 2020.11.19
[...]
[ESPNArticle] e67e0893-2ba6-4033-be6f-bddfe31bf267: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1_szunss\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1_szunss\build\youtube_dl\extractor\common.py", line 532, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1_szunss\build\youtube_dl\extractor\espn.py", line 208, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1_szunss\build\youtube_dl\extractor\common.py", line 1010, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.```
OK, after checking the site's code it's evident the new ID signals a slightly different API with a new entrypoint and Adobe Pass integration (which is already available within the current codebase) so if anyone with a little more Python expertise than me could try adapting the code to keep this important site working I'd certainly help with the metadata parsing and such 👍
What show/episode are you trying to watch?
Checklist
Verbose log
Description
WRITE DESCRIPTION HERE Show episode on ESPN site. Probably does require credentials for just about ANY USA cable provider (ESPN is on probably every provider in the United States) however the error does not indicate a credential failure. It appears the URL is a new format that doesn't exactly match any of the formats the extractor knows about. Also tested leaving off the '/bucketId/35312' at the end of the URL but that did not work either.