[Tube8IE] Fix regex for uploader extraction
authorrzhxeo <rzhxeo@users.noreply.github.com>
Sat, 26 Oct 2013 23:08:03 +0000 (01:08 +0200)
committerrzhxeo <rzhxeo@users.noreply.github.com>
Sat, 26 Oct 2013 23:08:03 +0000 (01:08 +0200)
youtube_dl/extractor/tube8.py

index ef8d216421826d2b2b2ec205f7e058e0c78703d0..ebc8c1f4f11544fc2110aadfb1fbf5876502f3bc 100644 (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('\\/', '/')