1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 18:34:32 +01:00

[cbs:playlist] say "clip carousel"

partial revert of 9961f53795 where we
lost one word while filling a liine for flake8. Oops.
This commit is contained in:
John Hawkinson 2017-03-31 01:46:55 -04:00
parent ca4d55a78c
commit cfeaa28a1e

View File

@ -91,7 +91,7 @@ class CBSShowIE(InfoExtractor):
# }
clipdata = self._parse_json(
self._search_regex(r'element\.videoCarousel\(([^)]*)\);',
webpage, 'carousel', default='{}'),
webpage, 'clip carousel', default='{}'),
show_name, transform_source=js_to_json)
if (clipdata.get('id')):
# http://www.cbs.com/carousels/videosBySection/241426/offset/0/limit/15/xs/0/