mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 19:33:59 +01:00
parent
1ed5ee2f04
commit
03536126d3
|
@ -33,10 +33,7 @@ def _real_extract(self, url):
|
||||||
webpage = self._download_webpage(
|
webpage = self._download_webpage(
|
||||||
'http://embed.crooksandliars.com/embed/%s' % video_id, video_id)
|
'http://embed.crooksandliars.com/embed/%s' % video_id, video_id)
|
||||||
|
|
||||||
manifest = self._parse_json(
|
manifest = self._search_json(r'var\s+manifest\s*=', webpage, 'manifest JSON', video_id)
|
||||||
self._search_regex(
|
|
||||||
r'var\s+manifest\s*=\s*({.+?})\n', webpage, 'manifest JSON'),
|
|
||||||
video_id)
|
|
||||||
|
|
||||||
quality = qualities(('webm_low', 'mp4_low', 'webm_high', 'mp4_high'))
|
quality = qualities(('webm_low', 'mp4_low', 'webm_high', 'mp4_high'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user