]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/tube8.py
Register new version in the changelog.
[youtubedl] / youtube_dl / extractor / tube8.py
index 6ca8840b0869f1490c06c7df0905c28e38ba1fee..c9cb69333f7da0a9f4fe009e79b06433bca83726 100644 (file)
@@ -47,7 +47,7 @@ class Tube8IE(InfoExtractor):
         webpage = self._download_webpage(req, display_id)
 
         flashvars = json.loads(self._html_search_regex(
         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:
 
         video_url = flashvars['video_url']
         if flashvars.get('encrypted') is True: