[ie/CrooksAndLiars] Fix extractor (#9192)

Authored by: seproDev
pull/9198/head
sepro 3 months ago committed by GitHub
parent 1ed5ee2f04
commit 03536126d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -33,10 +33,7 @@ class CrooksAndLiarsIE(InfoExtractor):
webpage = self._download_webpage(
'http://embed.crooksandliars.com/embed/%s' % video_id, video_id)
manifest = self._parse_json(
self._search_regex(
r'var\s+manifest\s*=\s*({.+?})\n', webpage, 'manifest JSON'),
video_id)
manifest = self._search_json(r'var\s+manifest\s*=', webpage, 'manifest JSON', video_id)
quality = qualities(('webm_low', 'mp4_low', 'webm_high', 'mp4_high'))

Loading…
Cancel
Save