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

Bloomberg extractor fails on this url #2387

Closed
attila-lendvai opened this issue Feb 15, 2014 · 3 comments
Closed

Bloomberg extractor fails on this url #2387

attila-lendvai opened this issue Feb 15, 2014 · 3 comments
Labels
bug

Comments

@attila-lendvai
Copy link

@attila-lendvai attila-lendvai commented Feb 15, 2014

please see the output below.

$ youtube-dl --verbose --title --continue "http://www.bloomberg.com/video/kazakh-president-sees-transition-of-power-russian-cHN8FfKgSPubu~qTyDObHA.html"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--title', '--continue', 'http://www.bloomberg.com/video/kazakh-president-sees-transition-of-power-russian-cHN8FfKgSPubu~qTyDObHA.html']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.13
[debug] Python version 2.7.3 - Linux-3.10-0.bpo.3-amd64-x86_64-with-debian-7.4
[debug] Proxy map: {}
[Bloomberg] kazakh-president-sees-transition-of-power-russian-cHN8FfKgSPubu~qTyDObHA: Downloading webpage
[Ooyala] EbfecRELn80: Downloading webpage
[Ooyala] EbfecRELn80: Downloading webpage
ERROR: Unable to download webpage: <urlopen error unknown url type: &device="+device+"&domain="+(document.domain||"unknown");var commonutils={seconds_of_day>
  File "/home/alendvai/bin/youtube-dl/youtube_dl/extractor/common.py", line 191, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/home/alendvai/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1157, in urlopen
    return self._opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 401, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 424, in _open
    'unknown_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1244, in unknown_open
    raise URLError('unknown url type: %s' % type)

AFAICS, the js seems to have changed at:

http://player.ooyala.com/player.js?embedCode=EbfecRELn80
@jaimeMF jaimeMF added the bug label Feb 15, 2014
@flexlee
Copy link

@flexlee flexlee commented Mar 28, 2014

do we have an update that fix this?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 29, 2014

Fixed in 7e70ac3, it will be available in the next release. Thanks for the report.

@jaimeMF jaimeMF closed this Mar 29, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Mar 29, 2014

Fixed in youtube-dl 2014.03.29. Type youtube-dl -U to update.

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