aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-12-27 15:33:39 +0100
committerremitamine <remitamine@gmail.com>2015-12-27 15:33:39 +0100
commit8d29e47f543152bf91db0167a313e56ea2f132e3 (patch)
tree7f7eb7d477b15fc05c8de118f34df058ea955fa7 /youtube_dl
parent2db772b9eadb7ef148ff5fd2c9b061d61b07d8d9 (diff)
[common] simplify the use of _extract_m3u8_formats and _extract_f4m_formats
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 828f58f12..3d39781a4 100644
--- 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