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

[brightcove] http://www.bfmtv.com/economie/mag-it-mobile-personnel-se-mue-outil-travail-334994.html #1553

Closed
Rudloff opened this issue Oct 4, 2013 · 2 comments
Assignees

Comments

@Rudloff
Copy link
Contributor

@Rudloff Rudloff commented Oct 4, 2013

pierre@Rudloff:~$ youtube-dl http://www.bfmtv.com/economie/mag-it-mobile-personnel-se-mue-outil-travail-334994.html -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.bfmtv.com/economie/mag-it-mobile-personnel-se-mue-outil-travail-334994.html', '-v']
[debug] youtube-dl version 2013.10.04
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.1
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
[generic] mag-it-mobile-personnel-se-mue-outil-travail-334994.html: Downloading webpage
[generic] mag-it-mobile-personnel-se-mue-outil-travail-334994.html: Extracting information
[generic] Brightcove video detected.
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/bin/youtube-dl/__main__.py", line 18, in <module>
  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 693, in main

  File "/usr/bin/youtube-dl/youtube_dl/__init__.py", line 677, in _real_main

  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 589, in download
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 335, in extract_info
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 103, in extract
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 127, in _real_extract
  File "/usr/bin/youtube-dl/youtube_dl/extractor/brightcove.py", line 52, in _build_brighcove_url
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: mismatched tag: line 13, column 2
phihag added a commit that referenced this issue Oct 4, 2013
@phihag
Copy link
Contributor

@phihag phihag commented Oct 4, 2013

Added a workaround for the broken HTML, but we still need to pass in a referer or something to be allowed to download the JSON info.

@ghost ghost assigned jaimeMF Nov 7, 2013
@jaimeMF jaimeMF closed this in dd5bcdc Nov 7, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 7, 2013

It should be fixed now, I can not access the video you posted anymore, but I have tested with other videos, like http://www.bfmtv.com/video/bfmbusiness/cours-bourse/cours-bourse-l-analyse-technique-154522/.
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
3 participants
You can’t perform that action at this time.