aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-10-27 02:28:37 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-10-27 02:28:37 +0100
commit81515ad9f674597e0d41be6acfcb8592f2230f32 (patch)
tree40265ab111782612fc8cde06e51d49264606f2c4
parent8112d4b28429a4319bc3d9d111b69fa62e514de3 (diff)
downloadyoutube-dl-81515ad9f674597e0d41be6acfcb8592f2230f32.tar.xz
[extractor/common] Improve m3u8 output
-rw-r--r--youtube_dl/extractor/common.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index e1bd6bb49..b77db52f7 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -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>"[^"]+"|[^",]+)(?:,|$)')