1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 09:30:57 +01:00

[cbc] PEP 8

This commit is contained in:
Sergey M․ 2016-07-26 23:08:08 +07:00
parent 9a700deea4
commit ced70c8640
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

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