aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-06-11 22:18:08 +0600
committerSergey M․ <dstftw@gmail.com>2015-06-11 22:18:08 +0600
commitff0f0b9172e432ebbfca88da91278554eb47c307 (patch)
treebad4fb01c0351c48f7855b0590c038d42ca4ce60 /youtube_dl/extractor
parent97b570a94cc2387153af525f781e144bb4bb791e (diff)
[tube8] Fix extraction (Closes #5952)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/tube8.py2
1 files changed, 1 insertions, 1 deletions
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: