Browse Source

[Tube8IE] Fix regex for uploader extraction

rtmp_test
rzhxeo 11 years ago
parent
commit
71865091ab
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

@ -36,7 +36,7 @@ class Tube8IE(InfoExtractor):
video_title = self._html_search_regex(r'videotitle ="([^"]+)', webpage, u'title')
video_description = self._html_search_regex(r'>Description:</strong>(.+?)<', webpage, u'description', fatal=False)
video_uploader = self._html_search_regex(r'>Submitted by:</strong>(?:\w|<[^>]*>)*(.+?)<', webpage, u'uploader', fatal=False)
video_uploader = self._html_search_regex(r'>Submitted by:</strong>(?:\s|<[^>]*>)*(.+?)<', webpage, u'uploader', fatal=False)
thumbnail = self._html_search_regex(r'"image_url":"([^"]+)', webpage, u'thumbnail', fatal=False)
if thumbnail:
thumbnail = thumbnail.replace('\\/', '/')


Loading…
Cancel
Save