Make debug message useful and also report, which URL failed to download.
authorElias Probst <mail@eliasprobst.eu>
Fri, 20 Jun 2014 22:35:12 +0000 (00:35 +0200)
committerElias Probst <mail@eliasprobst.eu>
Fri, 20 Jun 2014 22:35:12 +0000 (00:35 +0200)
youtube_dl/extractor/spiegel.py

index 9156d7fafd6ac2688ab329b31f1b683ab868def0..94346daf6cc4ae1a09a05a8524ea3b3beccca672 100644 (file)
@@ -36,7 +36,7 @@ class SpiegelIE(InfoExtractor):
         xml_url = 'http://video2.spiegel.de/flash/' + video_id + '.xml'
         idoc = self._download_xml(
             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 = [
             {