aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/tube8.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/tube8.py')
-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: