rg3/youtube-dl — pull request #3536 by Lord-Simon (2014-08-17 02:37:02+00:00)
Title: Add ToukouCity to extractors

Added toukoucity.to to and the test exited with OK

```
# python test/test_download.py TestDownload.test_ToukouCity
[ToukouCity] igy3nBwTEb: Extracting information
[ToukouCity] igy3nBwTEb: Downloading webpage
[info] Writing video description metadata as JSON to: igy3nBwTEb.info.json
[debug] Invoking downloader on u'http://199.195.198.44/p2/igy3nBwTEb/video.mp4'
[download] Destination: igy3nBwTEb.mp4
[download] 100% of 10.00KiB in 00:00
.
----------------------------------------------------------------------
Ran 1 test in 1.636s

OK
```

But once I did run make and tried it on the same URL it exited with the error "Unsupported URL":

```
# youtube-dl --verbose 'http://toukoucity.to/video/igy3nBwTEb/'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://toukoucity.to/video/igy3nBwTEb/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.10
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.6
[debug] Proxy map: {}
[generic] igy3nBwTEb: Requesting header
[redirect] Following redirect to http://toukoucity.to/
[generic] toukoucity: Requesting header
WARNING: Falling back on generic information extractor.
[generic] toukoucity: Downloading webpage
[generic] toukoucity: Extracting information
ERROR: Unsupported URL: http://toukoucity.to/; 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/extractor/generic.py", line 457, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1426, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
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
ParseError: unbound prefix: line 67, column 8
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 170, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 752, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://toukoucity.to/; 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.
```