projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8112d4b
)
[extractor/common] Improve m3u8 output
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 27 Oct 2014 01:28:37 +0000
(
02:28
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 27 Oct 2014 01:28:37 +0000
(
02:28
+0100)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index e1bd6bb49303c5c9ecb959eba5d3a84a3f813da3..b77db52f7af4f1631e661bcbaf86bedbada80bf6 100644
(file)
--- 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>"[^"]+"|[^",]+)(?:,|$)')