Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Cannot download videos from mediaite #25217
Comments
|
Here is the script that displays the video on the page: <script> (() => { window.amJwVideos = window.amJwVideos || []; const iframe = document.createElement('iframe'); const jwBaseUrl = 'https://content.jwplatform.com/players/'; iframe.setAttribute('allowfullscreen', true); iframe.jwUrlWithAds = jwBaseUrl + 'XKsbG4QT-KfS9hzfO.html'; iframe.jwUrlWithNoAds = jwBaseUrl + 'XKsbG4QT-I23UVzQH.html'; amJwVideos.push(iframe); })(); </script> |
|
Pull request |
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.mediaite.com/politics/were-so-vexxed-don-lemon-says-communities-of-color-are-under-siege-after-ahmaud-arbery-shooting-pandemic/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.05.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: none
[debug] Proxy map: {}
[generic] were-so-vexxed-don-lemon-says-communities-of-color-are-under-siege-after-ahmaud-arbery-shooting-pandemic: Requesting header
WARNING: Falling back on generic information extractor.
[generic] were-so-vexxed-don-lemon-says-communities-of-color-are-under-siege-after-ahmaud-arbery-shooting-pandemic: Downloading webpage
[generic] were-so-vexxed-don-lemon-says-communities-of-color-are-under-siege-after-ahmaud-arbery-shooting-pandemic: Extracting information
ERROR: Unsupported URL: https://www.mediaite.com/politics/were-so-vexxed-don-lemon-says-communities-of-color-are-under-siege-after-ahmaud-arbery-shooting-pandemic/
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4z7swgz7\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4z7swgz7\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4z7swgz7\build\youtube_dl\extractor\generic.py", line 3370, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.mediaite.com/politics/were-so-vexxed-don-lemon-says-communities-of-color-are-under-siege-after-ahmaud-arbery-shooting-pandemic/
-->
This site worked until a few months ago. It uses jwplatform as the CDN, which has a YDL extractor, but it is not being recognized. The URL for the iframe that loads this video is https://content.jwplatform.com/players/XKsbG4QT-KfS9hzfO.html
Loading this URL into YDL loads the appropriate extractor and successfully downloads the video.
I suspect this issue affects more sites, but did not have one to test.