summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrzhxeo <[email protected]>2013-10-27 01:08:03 +0200
committerrzhxeo <[email protected]>2013-10-27 01:08:03 +0200
commit71865091abbb0166edeffff14da019542260557f (patch)
tree66ed50880ad057a50e0b411c691ab694ca16da6c
parent8cb57d9b91cce72b522d89b5e3e469c433956a07 (diff)
downloadyoutube-dl-71865091abbb0166edeffff14da019542260557f.tar.gz
youtube-dl-71865091abbb0166edeffff14da019542260557f.zip
[Tube8IE] Fix regex for uploader extraction
-rw-r--r--youtube_dl/extractor/tube8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tube8.py b/youtube_dl/extractor/tube8.py
index ef8d21642..ebc8c1f4f 100644
--- a/youtube_dl/extractor/tube8.py
+++ b/youtube_dl/extractor/tube8.py
@@ -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('\\/', '/')