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

Kickstarter extractor fails for non-KS video(s) #3322

Closed
lofidevops opened this issue Jul 22, 2014 · 3 comments
Closed

Kickstarter extractor fails for non-KS video(s) #3322

lofidevops opened this issue Jul 22, 2014 · 3 comments

Comments

@lofidevops
Copy link

@lofidevops lofidevops commented Jul 22, 2014

Some pages are identified as requiring one extractor, but would be better served by the generic extractor. For example, the Kickstarter extractor works for project pages and updates that use Kickstarter for video hosting, but not if they embed Vimeo or YouTube in a project update.

This works (video hosted on Kickstarter):

https://www.kickstarter.com/projects/readingrainbow/bring-reading-rainbow-back-for-every-child-everywh/posts/896877

This doesn't (video hosted on Vimeo):

https://www.kickstarter.com/projects/597507018/pebble-e-paper-watch-for-iphone-and-android/posts/659178

This doesn't (multiple videos hosted on YouTube):

https://www.kickstarter.com/projects/spaceventure/two-guys-spaceventure-by-the-creators-of-space-que/posts/919517

Sample output:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.kickstarter.com/projects/spaceventure/two-guys-spaceventure-by-the-creators-of-space-que/posts/919517']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.21
[debug] Python version 2.7.6 - Linux-3.13.0-32-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[KickStarter] spaceventure: Downloading webpage
ERROR: Unable to extract video URL; 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/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 169, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/kickstarter.py", line 29, in _real_extract
    webpage, 'video URL')
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 385, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video URL; 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.

Is there a way to force youtube-dl to use the generic extractor? (And would this work to extract multiple videos from a single page?)

@phihag
Copy link
Contributor

@phihag phihag commented Jul 22, 2014

Thank you for the report. Your problem is not to force a generic extractor, but a malfunctioning kickstarter extractor.

@lofidevops
Copy link
Author

@lofidevops lofidevops commented Jul 22, 2014

Ah, I see. Please let me know if any further details are required. (I have updated the issue title.)

@lofidevops lofidevops changed the title How can I force generic extractor? Kickstarter extractor fails for non-KS video(s) Jul 22, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Jul 22, 2014

This has been fixed in youtube-dl 2014.07.22. It looks like you have installed youtube-dl with a package manager. Either update using that package manager (you may need to contact the package maintainer, if any) or uninstall youtube-dl from that package manager and follow our manual installation instructions. Again, thanks for the report!

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
2 participants
You can’t perform that action at this time.