projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[giantbomb] Extract m3u8 formats (closes #13626)
[youtube-dl]
/
youtube_dl
/
extractor
/
faz.py
diff --git
a/youtube_dl/extractor/faz.py
b/youtube_dl/extractor/faz.py
index 6f9b003c2b2f490094dde43098e8087062886a2f..4bc8fc5127010e1b3ced207da04f8926716cc94d 100644
(file)
--- a/
youtube_dl/extractor/faz.py
+++ b/
youtube_dl/extractor/faz.py
@@
-1,4
+1,4
@@
-#
en
coding: utf-8
+# coding: utf-8
from __future__ import unicode_literals
from .common import InfoExtractor
from __future__ import unicode_literals
from .common import InfoExtractor
@@
-52,7
+52,7
@@
class FazIE(InfoExtractor):
formats = []
for pref, code in enumerate(['LOW', 'HIGH', 'HQ']):
encoding = xpath_element(encodings, code)
formats = []
for pref, code in enumerate(['LOW', 'HIGH', 'HQ']):
encoding = xpath_element(encodings, code)
- if encoding:
+ if encoding
is not None
:
encoding_url = xpath_text(encoding, 'FILENAME')
if encoding_url:
formats.append({
encoding_url = xpath_text(encoding, 'FILENAME')
if encoding_url:
formats.append({