projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc18d9
)
[playtvak] Use tuples
author
Sergey M․
<dstftw@gmail.com>
Sun, 16 Aug 2015 13:59:03 +0000
(19:59 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 16 Aug 2015 13:59:03 +0000
(19:59 +0600)
youtube_dl/extractor/playtvak.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/playtvak.py
b/youtube_dl/extractor/playtvak.py
index 2b338966f496e23d24217c60ee47de228d3e78a4..278fdc1aab228212eab2d74e6dd6bc3358be2dbd 100644
(file)
--- a/
youtube_dl/extractor/playtvak.py
+++ b/
youtube_dl/extractor/playtvak.py
@@
-120,7
+120,7
@@
class PlaytvakIE(InfoExtractor):
if not item:
raise ExtractorError('No suitable stream found')
- quality = qualities(
['low', 'middle', 'high']
)
+ quality = qualities(
('low', 'middle', 'high')
)
formats = []
for fmt in item['video']:
@@
-132,7
+132,7
@@
class PlaytvakIE(InfoExtractor):
format_id = '%s_%s' % (format_, fmt['quality'])
preference = None
- if format_ in
['mp4', 'webm']
:
+ if format_ in
('mp4', 'webm')
:
ext = format_
elif format_ == 'rtmp':
ext = 'flv'