[extractor/common] Improve m3u8 output
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 27 Oct 2014 01:28:37 +0000 (02:28 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 27 Oct 2014 01:28:37 +0000 (02:28 +0100)
youtube_dl/extractor/common.py

index e1bd6bb49303c5c9ecb959eba5d3a84a3f813da3..b77db52f7af4f1631e661bcbaf86bedbada80bf6 100644 (file)
@@ -689,7 +689,10 @@ class InfoExtractor(object):
             if re.match(r'^https?://', u)
             else compat_urlparse.urljoin(m3u8_url, u))
 
-        m3u8_doc = self._download_webpage(m3u8_url, video_id)
+        m3u8_doc = self._download_webpage(
+            m3u8_url, video_id,
+            note='Downloading m3u8 information',
+            errnote='Failed to download m3u8 information')
         last_info = None
         kv_rex = re.compile(
             r'(?P<key>[a-zA-Z_-]+)=(?P<val>"[^"]+"|[^",]+)(?:,|$)')