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.
Cosmos with Neil DeGraqsse-Tyson from Fox: Unsupported URL #2541
Comments
|
Here's an alternate source for the video, at Hulu, also reported as Unsupported URL: http://www.hulu.com/cosmos-a-spacetime-odyssey . Would detailed output for that URL also be helpful? |
|
Generally, URLs are enough for unsupported URL reports (we just mandate the full output to check that users don't use a really, really old version, despite the message telling them to update. You wouldn't believe how often that still happens.). However, Hulu and Fox use completely different services, so there should be two separate issues. There already is one for Hulu, #1629. |
|
Thanks for the quick response. I definitely understand how hard it can be to get folks to pay attention: have been a software developer for a long time, and also provided computer support and consulting. Anyway, please let me know if you need help tracing errors at either of these sites, as I live in the U.S. and use Python. And I'd really like to see this revival of Cosmos! |
|
The official Fox site (http://www.cosmosontv.com/watch/183733315515, which appears to be identical to http://www.fox.com/watch/183733315515) appears to use technology from "The Platform". I'm not familiar with that service, but it appears there's already an InfoExtractor in the youtube-dl repository. If you dig through the Cosmos page source (at least while using the iPad useragent) you can find a link such as: Using that link in youtube-dl results in the following error: Similarly, running 'curl' on the video URLs gives an "HTTP/1.0 405 Method Not Allowed" error. Not sure where to go from here. As a possible (outside chance) incentive, the Jimmy Fallon player (Page: http://www.nbc.com/the-tonight-show/episodes/17, Platform link: http://link.theplatform.com/s/NnzsPC/H9nP0Gyh44jp?mbr=true&player=Onsite%20Player%20--%20No%20End%20Card&policy=43674) appears to both use the same service and give the same 405 errors. |
|
Here's a different site for Cosmos, also reporting Unsupported URL with the latest youtube-dl. Would you please let me know if you'd prefer a new Issue for this? thanks: |
|
My attempt at creating an IE for these videos: $ youtube-dl -v http://www.cosmosontv.com/watch/211631683935 $ youtube-dl http://www.cosmosontv.com/watch/211631683935 --get-url I don't know where to go from here. All suggestions are appreciated. |
|
cosmosontv.com redirects to fox.com(youtube-dl can extract videos from fox.com). |
Hi, we may need someone in the U.S. to trace this, as I've been told that the video is only available in this country:
$ youtube-dl --verbose http://www.fox.com/watch/183733315515
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.fox.com/watch/183733315515']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.03.10
[debug] Python version 2.6.6 - Linux-2.6.37.6-smp-i686-Intel-R-Core-TM-2_Duo_CPU_____T5450_@_1.66GHz-with-slackware-13.37.0
[debug] Proxy map: {}
[generic] 183733315515: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 183733315515: Downloading webpage
[generic] 183733315515: Extracting information
ERROR: Unsupported URL: http://www.fox.com/watch/183733315515; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/bin/ytd/youtube_dl/extractor/generic.py", line 277, in _real_extract
doc = xml.etree.ElementTree.fromstring(webpage.encode('utf-8'))
File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 963, in XML
parser.feed(text)
File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 1245, in feed
self._parser.Parse(data, 0)
ExpatError: not well-formed (invalid token): line 50, column 86
Traceback (most recent call last):
File "/usr/bin/ytd/youtube_dl/YoutubeDL.py", line 503, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/ytd/youtube_dl/extractor/common.py", line 162, in extract
return self._real_extract(url)
File "/usr/bin/ytd/youtube_dl/extractor/generic.py", line 472, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.fox.com/watch/183733315515; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.