1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[tube8] Fix extraction (Closes #5952)

This commit is contained in:
Sergey M․ 2015-06-11 22:18:08 +06:00
parent 97b570a94c
commit ff0f0b9172

View File

@ -47,7 +47,7 @@ def _real_extract(self, url):
webpage = self._download_webpage(req, display_id)
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']
if flashvars.get('encrypted') is True: