Update zattoo.py
This commit is contained in:
parent
021ccc8aff
commit
719a76760b
@ -86,7 +86,8 @@ class ZattooBaseIE(InfoExtractor):
|
|||||||
return next(
|
return next(
|
||||||
chan['cid'] for chan in channel_list
|
chan['cid'] for chan in channel_list
|
||||||
if chan.get('cid') and (
|
if chan.get('cid') and (
|
||||||
chan.get('display_alias') == channel_name or chan.get('cid') == channel_name))
|
chan.get('display_alias') == channel_name or
|
||||||
|
chan.get('cid') == channel_name))
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
raise ExtractorError('Could not extract channel id')
|
raise ExtractorError('Could not extract channel id')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user