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] Failed to download m3u8 information: HTTP Error 404: Not Found (4400k stream) #12788
Comments
I tried several times and get no 4400k streams. Could you add a def _extract_m3u8_formats(self, m3u8_url, video_id, ext=None,
entry_protocol='m3u8', preference=None,
m3u8_id=None, note=None, errnote=None,
fatal=True, live=False):
print(m3u8_url)
res = self._download_webpage_handle(
m3u8_url, video_id,
note=note or 'Downloading m3u8 information',
errnote=errnote or 'Failed to download m3u8 information',
fatal=fatal) |
|
When youtube-dl detects the 4400k stream, the m3u8 is from once-aws-us-west-2-lb.unicornmedia.com domain. I believe it uses once.py When youtube-dl does not detect the 4400k stream, the m3u8 is from cbsios-vh.akamaihd.net domain. I searched the issues and found that other users reported similar issues with CBS and m3u8's from the unicornmedia domain. #11177 The user reports being able to get the 4400k stream manually but youtube-dl does not detect it. |
I know. I asked you to add a print so that we can know what is the correct m3u8 URL. #11177 is different. youtube-dl can fetch the 4400k stream in this case. |
|
Here are the m3u8 URLs for both the 4400k and 3500k streams for the same video. 4400k stream m3u8 URL:
3500k stream m3u8 URL:
From this video:
|
|
For http://www.cbs.com/shows/amazing_race/video/8484FF1D-845E-A8C6-F845-A6694556D012/the-amazing-race-double-u-turn-ahead/, youtube-dl can already identify Once m3u8 URLs. Let's focus on those break youtube-dl. Let me check: do you mean for http://www.cbs.com/shows/amazing_race/video/2NuEwUzxMyZrfEJiClHYhBP4WOSJJynj/the-amazing-race-scared-spitless/, you can get 4400k videos sooner or later if you try the same URL again and again? |
|
I tried multiple attempts and can't get the 4400k stream for:
But 4400k was available when it was first posted on CBS. I know from prior CBS videos if I try again in a couple days, or a week, or 2 weeks it seems I will eventually get the 4400k stream with youtube-dl. But I do not know if it is the same URL since CBS uses the random characters in the URL. Perhaps CBS changes the URL making the 4400k stream available and then unavailable? I can keep trying and keep track of the URLs to see if they change. It could be a CBS problem? EDIT: I tried other CBS shows and youtube-dl gets the 4400k stream for the most recent episodes (2 to 3 episodes). But it does not detect the 4400k stream for shows posted previous to that. A solution would be to grab the 4400k streams as soon as they are posted to CBS. But occasionally the 4400k stream do become available once again for those episodes. |
That's possible. Closing as it's most likely a CBS issue. Feel free to post new findings below if any. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.04.17. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Log for 4400k stream NOT found:
Log for 4400k stream found:
If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
(Free links, Login not needed)
Single video (Does NOT find 4400k stream]: http://www.cbs.com/shows/amazing_race/video/2NuEwUzxMyZrfEJiClHYhBP4WOSJJynj/the-amazing-race-scared-spitless/
Single video [4400k stream is found]: http://www.cbs.com/shows/amazing_race/video/IWjq_IBfTKOTnZgTkxllDWFVTiHxWbbz/the-amazing-race-bucket-list-type-stuff/
Description of your issue, suggested solution and other information
youtube-dl fails to retrieve the 4400k hls stream for some videos on CBS.com.
I have posted two logs above. The first log shows youtube-dl can't find the 4400k stream. It displays the error "Failed to download m3u8 information".
The second log displays info when youtube-dl finds the 4400k stream.
When youtube-dl can't retrieve the 4400k, if you wait some time (up to a couple days) and try multiple attempts, youtube-dl will eventually retrieve the 4400k stream. Could this be fixed so youtube-dl retrives the 4400k stream everytime without needing to run it mutiple times?