[cbc] PEP 8

pull/10180/head
Sergey M․ 8 years ago
parent 9a700deea4
commit ced70c8640
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -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…
Cancel
Save