diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-06-11 22:18:08 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-06-11 22:18:08 +0600 |
commit | ff0f0b9172e432ebbfca88da91278554eb47c307 (patch) | |
tree | bad4fb01c0351c48f7855b0590c038d42ca4ce60 /youtube_dl | |
parent | 97b570a94cc2387153af525f781e144bb4bb791e (diff) |
[tube8] Fix extraction (Closes #5952)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/tube8.py | 2 |
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: |