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.
CNBC does not support HEAD requests #14193
Comments
|
bump, any ideas what could fix this? |
|
any update on this? i am still getting the same error with CNBC videos. |
|
@cookieguru Sorry for the late response, but what do I change that line too? |
|
looks like you could just use this pull request to achieve what you want as well: |
|
Unfortunately, still fails: So it's not just the HEAD requests. |
|
@keithah Look at line 3. It's not using the CNBC extractor because said extractor doesn't have support for that URL pattern. Updating the regex on line 41 should do it. |
|
some progress! Now failing at the info extractor.. |
|
Change line 62 to this: r'data-mpx-id=["\'](\d+)', webpage, display_id,Although to make this worthy of a PR it should actually be a new class |
|
@cookieguru Still no luck, now getting a 404 on a totally valid link, but farther! Tried a video which shouldn't require auth too: I tried to email you too, in case you wanted to take this off GitHub. |
|
I have no idea what SMIL data is or where to find it; that's probably the data that contains the path to the m3u8 file. Evidently this new |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.09.11. 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?
Culprit is the HEAD request:
wget --spider http://www.cnbc.com/live-tv/the-profit/full-episode/top-10-rules-for-success/1015334979858 -U "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36"wget --delete-after http://www.cnbc.com/live-tv/the-profit/full-episode/top-10-rules-for-success/1015334979858 -U "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36"