Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[generic] Conde Nast embeds not being detected #3929

Closed
anovicecodemonkey opened this issue Oct 12, 2014 · 2 comments
Closed

[generic] Conde Nast embeds not being detected #3929

anovicecodemonkey opened this issue Oct 12, 2014 · 2 comments

Comments

@anovicecodemonkey
Copy link

@anovicecodemonkey anovicecodemonkey commented Oct 12, 2014

$ youtube-dl --verbose http://www.newyorker.com/new-yorker-festival/live-stream-edward-snowden
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.newyorker.com/new-yorker-festival/live-stream-edward-snowden']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.05.2
[debug] Python version 3.4.2 - Linux-3.16.4-1-ARCH-x86_64-with-arch
[debug] Proxy map: {}
[generic] live-stream-edward-snowden: Requesting header
WARNING: Falling back on generic information extractor.
[generic] live-stream-edward-snowden: Downloading webpage
[generic] live-stream-edward-snowden: Extracting information
ERROR: Unsupported URL: http://www.newyorker.com/new-yorker-festival/live-stream-edward-snowden; 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/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 524, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 193, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 907, in _real_extract
    raise ExtractorError('Unsupported URL: %s' % url)
youtube_dl.utils.ExtractorError: Unsupported URL: http://www.newyorker.com/new-yorker-festival/live-stream-edward-snowden; 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.

Directly calling the embed url (http://player.cnevids.com/embed/5439c27e61646d0c45000000/53ada37269702d58e0180000?src=tny-play) works but isn't detected by generic.py because the iframe embed code lacks a protocol in front of the URL, i.e. it's: "//player.cnevids.com/embed/5439c27e61646d0c45000000/53ada37269702d58e0180000?src=tny-play"

@dstftw dstftw closed this in 1419faf Oct 13, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 13, 2014

Condé Nast embeds will be supported in the next version of youtube-dl. Thanks for the report.

@phihag
Copy link
Contributor

@phihag phihag commented Oct 26, 2014

This fix has made it into youtube-dl 2014.10.26. Refer to our FAQ if you need help updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.