ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.47k stars 10.05k forks source link

Support for rio2016.francetvsport.fr #10366

Open sbouafif opened 8 years ago

sbouafif commented 8 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.08.17. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.08.17
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible. If work on your issue required an account credentials please provide them or explain how one can obtain them.

sbouafif commented 8 years ago

The videos are available from France. Not sure if available worldwide

example: http://rio2016.francetvsport.fr/videos/article/athletisme-longueur-stade-olympique-saut-horizontal-27722.html

youtube-dl -v http://rio2016.francetvsport.fr/videos/article/athletisme-longueur-stade-olympique-saut-horizontal-27722.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://rio2016.francetvsport.fr/videos/article/athletisme-longueur-stade-olympique-saut-horizontal-27722.html']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2016.08.17
[debug] Python version 2.7.10 - Linux-4.2.0-38-generic-x86_64-with-Ubuntu-15.10-wily
[debug] exe versions: ffmpeg 2.7.6-0ubuntu0.15.10.1, ffprobe 2.7.6-0ubuntu0.15.10.1
[debug] Proxy map: {}
[generic] athletisme-longueur-stade-olympique-saut-horizontal-27722: Requesting header
WARNING: Falling back on generic information extractor.
[generic] athletisme-longueur-stade-olympique-saut-horizontal-27722: Downloading webpage
[generic] athletisme-longueur-stade-olympique-saut-horizontal-27722: Extracting information
ERROR: Unsupported URL: http://rio2016.francetvsport.fr/videos/article/athletisme-longueur-stade-olympique-saut-horizontal-27722.html
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1623, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2525, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2514, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: undefined entity: line 22, column 180
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 691, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2362, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://rio2016.francetvsport.fr/videos/article/athletisme-longueur-stade-olympique-saut-horizontal-27722.html