From: Sergey M․ Date: Thu, 11 Jun 2015 16:18:08 +0000 (+0600) Subject: [tube8] Fix extraction (Closes #5952) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=ff0f0b9172e432ebbfca88da91278554eb47c307;p=youtube-dl [tube8] Fix extraction (Closes #5952) --- diff --git a/youtube_dl/extractor/tube8.py b/youtube_dl/extractor/tube8.py index 6ca8840b0..c9cb69333 100644 --- a/youtube_dl/extractor/tube8.py +++ b/youtube_dl/extractor/tube8.py @@ -47,7 +47,7 @@ class Tube8IE(InfoExtractor): 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: