logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: d0fed4ac028baa40b18082fd813ed93cd658ebe8
parent 7ce50a355c3a4cbd61f18fb16d8175a97f14d510
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue, 22 Sep 2015 22:00:50 +0600

[viewster] Use tuple

Diffstat:

Myoutube_dl/extractor/viewster.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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,