projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db772b
)
[common] simplify the use of _extract_m3u8_formats and _extract_f4m_formats
author
remitamine
<remitamine@gmail.com>
Sun, 27 Dec 2015 14:33:39 +0000
(15:33 +0100)
committer
remitamine
<remitamine@gmail.com>
Sun, 27 Dec 2015 14:33:39 +0000
(15:33 +0100)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 828f58f126393531f1f0481faeff473e68b3ecb1..3d39781a494159989387631dd4835f4e62dce969 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-885,7
+885,7
@@
class InfoExtractor(object):
fatal=fatal)
if manifest is False:
- return
manifest
+ return
[]
formats = []
manifest_version = '1.0'
@@
-956,7
+956,7
@@
class InfoExtractor(object):
errnote=errnote or 'Failed to download m3u8 information',
fatal=fatal)
if res is False:
- return
res
+ return
[]
m3u8_doc, urlh = res
m3u8_url = urlh.geturl()
last_info = None