Преглед изворни кода

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

Elias Probst пре 11 година
родитељ
комит
a20575e8ae
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      youtube_dl/extractor/spiegel.py

+ 1 - 1
youtube_dl/extractor/spiegel.py

@@ -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 = [
             {