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.
Add support for nationalgeographic.com #4960
Comments
|
http://feed.theplatform.com/f/ngs/dCCn2isYZ9N9 Found this feed on the page with all the video URLs. It has a GET parameter called byGuid. If you supply the correct GUID, you will get the download links. For example: http://feed.theplatform.com/f/ngs/dCCn2isYZ9N9?byGuid=0000014b-70a1-dd8c-af7f-f7b559330001 The GUID is found in:
Can I pick this one up? |
|
I tried this regex for _VALID_URL:
But it doesn't pick my extractor. Did I make a mistake in my regex? The only thing missing is ignoring the get parameters |
|
@robin007bond Works for me:
|
|
Ok, thanks for trying it out. |
|
Hmm.. I have a hard time figuring out what to do. They video formats are in a very weird format that mpv doesn't even recognize. Those are SPI files. The XML says that they are regular MP4 files, but they aren't playable with mpv. VLC doesn't play them either. Someone is free to go further where I left off. My code so far:
|
|
Aren't these guys using theplatform? The video doesn't play for me in the browser, but what I see is an output |
|
Thanks for the tip, I didn't know that there was already a ThePlatform extractor. Unfortunately, the extractor doesn't work on the URLs:
When accessing the video URL (the one that yt-dl found) directly from Firefox:
|
|
Will be supported in the next version, thanks for the report. I don't know why those links fail, since their webpage uses the f4m manifest I just forced the extractor to use it. |
|
Support for nationalgeographic has been added in youtube-dl 2015.02.19.3. See our FAQ if you need help updating. |
Sample link : http://video.nationalgeographic.com/video/news/150210-news-crab-mating-vin?source=featuredvideo
Thanks