aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorrzhxeo <rzhxeo@users.noreply.github.com>2013-10-27 01:08:03 +0200
committerrzhxeo <rzhxeo@users.noreply.github.com>2013-10-27 01:08:03 +0200
commit71865091abbb0166edeffff14da019542260557f (patch)
tree66ed50880ad057a50e0b411c691ab694ca16da6c /youtube_dl/extractor
parent8cb57d9b91cce72b522d89b5e3e469c433956a07 (diff)
[Tube8IE] Fix regex for uploader extraction
Diffstat (limited to 'youtube_dl/extractor')
-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('\\/', '/')