1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 18:22:21 +00:00

[viewster] Use tuple

This commit is contained in:
Sergey M․ 2015-09-22 22:00:50 +06:00
parent 7ce50a355c
commit d0fed4ac02

View file

@ -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,