projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ce50a3
)
[viewster] Use tuple
author
Sergey M․
<dstftw@gmail.com>
Tue, 22 Sep 2015 16:00:50 +0000
(22:00 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 22 Sep 2015 16:00:50 +0000
(22:00 +0600)
youtube_dl/extractor/viewster.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/viewster.py
b/youtube_dl/extractor/viewster.py
index 487f2d7442e40263decac29b0f40bf3ed825650d..632e57fb4277dbf23c3fa21683f27c70d278f996 100644
(file)
--- a/
youtube_dl/extractor/viewster.py
+++ b/
youtube_dl/extractor/viewster.py
@@
-95,7
+95,7
@@
class ViewsterIE(InfoExtractor):
entry_id = info.get('Id') or info['id']
# unfinished serie has no Type
- if info.get('Type') in
['Serie', None]
:
+ if info.get('Type') in
('Serie', None)
:
try:
episodes = self._download_json(
'https://public-api.viewster.com/series/%s/episodes' % entry_id,