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.
[CBS.com] Fetching video asset codes isn't good enough #11177
Comments
|
Any example? |
|
This sounds similar to my open issue #10918. |
http://www.cbs.com/shows/the-odd-couple/video/B21681C5-A393-155C-D690-1BCADE40DB83/the-odd-couple-you-re-not-evan-/ would be an example that doesn't even get 1280x720 hls even though it exists! |
|
I by the way meanwhile have made my own tool for CBS 4400k stream Windows binary: PS: I haven't found any 5000k Streams as Mr-Jake says. |
|
|
@spookyahell could you paste a log where some formats are missing? |
|
When issue happens again I will be sure to post the log (verbose) here immediately... |
|
Thanks for the feedback. The Once approach you've proposed is exactly what youtube-dl does. I guess some step fixing other sites also fixes the problem here. If there are still problems, feel free to open a new issue. |
Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
Issue is that it seams that fetching video ids isn't good enough
http://can.cbs.com/thunder/player/videoPlayerService.php(as currently called in youtube-dl) doesn't always return all available formats.I mostly use CBS in combination with
-f "best[protocol=m3u8]"but lately that won't give me 1280x720 streams anymore, (Just 940x480 or something and that returns a 403 Unauthorized) So I looked into it and it seems that is neccesary to always check ifhttp://link.theplatform.com/s/dJ5BDC/media/guid/2198311517/%CONTENTCODE%?assetTypes=OnceURL&format=SMIL&mbr=true&formats=MPEG4%2CM3Ureturns a URL likehttp://once.unicornmedia.com/now/od/auto/[...]/content.once. Because I tried it on the newer videos that wouldn't work on youtube-dl directly and was able to get them manually. So checkinghttp://can.cbs.com/thunder/player/videoPlayerService.phpis a good thing, but isn't sufficient in more recent videos on the CBS.com website.