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

pull/3125/head
Elias Probst 10 years ago
parent 7724572519
commit a20575e8ae

@ -36,7 +36,7 @@ class SpiegelIE(InfoExtractor):
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 = [
{ {

Loading…
Cancel
Save