mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-22 17:06:08 +08:00
[cbc] PEP 8
This commit is contained in:
parent
9a700deea4
commit
ced70c8640
@ -99,7 +99,7 @@ class CBCIE(InfoExtractor):
|
|||||||
if not media_id:
|
if not media_id:
|
||||||
clip_id = player_info['clipId']
|
clip_id = player_info['clipId']
|
||||||
feed = self._download_json(
|
feed = self._download_json(
|
||||||
'http://tpfeed.cbc.ca/f/ExhSPC/vms_5akSXx4Ng_Zn?byCustomValue={:mpsReleases}{%s}'% clip_id,
|
'http://tpfeed.cbc.ca/f/ExhSPC/vms_5akSXx4Ng_Zn?byCustomValue={:mpsReleases}{%s}' % clip_id,
|
||||||
clip_id, fatal=False)
|
clip_id, fatal=False)
|
||||||
if feed:
|
if feed:
|
||||||
media_id = try_get(feed, lambda x: x['entries'][0]['guid'], compat_str)
|
media_id = try_get(feed, lambda x: x['entries'][0]['guid'], compat_str)
|
||||||
|
Loading…
Reference in New Issue
Block a user