Make debug message useful and also report, which URL failed to download.

This commit is contained in:
Elias Probst 2014-06-21 00:35:12 +02:00
parent 7724572519
commit a20575e8ae

View File

@ -36,7 +36,7 @@ def _real_extract(self, url):
xml_url = 'http://video2.spiegel.de/flash/' + video_id + '.xml' xml_url = 'http://video2.spiegel.de/flash/' + video_id + '.xml'
idoc = self._download_xml( idoc = self._download_xml(
xml_url, video_id, xml_url, video_id,
note='Downloading XML', errnote='Failed to download XML') note='Downloading XML', errnote='Failed to download XML from "{0}"'.format(xml_url))
formats = [ formats = [
{ {