1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-23 08:17:00 +00: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)