Browse Source

[tube8] Fix extraction (Closes #5952)

totalwebcasting
Sergey M․ 10 years ago
parent
commit
ff0f0b9172
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/tube8.py

+ 1
- 1
youtube_dl/extractor/tube8.py View File

@ -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:


Loading…
Cancel
Save