mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-05 13:32:49 -05:00
[tube8] Fix extraction (Closes #5952)
This commit is contained in:
@ -47,7 +47,7 @@ class Tube8IE(InfoExtractor):
|
|||||||
webpage = self._download_webpage(req, display_id)
|
webpage = self._download_webpage(req, display_id)
|
||||||
|
|
||||||
flashvars = json.loads(self._html_search_regex(
|
flashvars = json.loads(self._html_search_regex(
|
||||||
r'flashvars\s*=\s*({.+?})', webpage, 'flashvars'))
|
r'flashvars\s*=\s*({.+?});\r?\n', webpage, 'flashvars'))
|
||||||
|
|
||||||
video_url = flashvars['video_url']
|
video_url = flashvars['video_url']
|
||||||
if flashvars.get('encrypted') is True:
|
if flashvars.get('encrypted') is True:
|
||||||
|
Reference in New Issue
Block a user