[xtube] Fix uploader regex

pull/2/head
Sergey M․ 10 years ago
parent d34f98289b
commit 324b2c78fa

@ -40,7 +40,7 @@ class XTubeIE(InfoExtractor):
r'<p class="title">([^<]+)', webpage, 'title') r'<p class="title">([^<]+)', webpage, 'title')
video_uploader = self._html_search_regex( video_uploader = self._html_search_regex(
[r"var\s+contentOwnerId\s*=\s*'([^']+)", [r"var\s+contentOwnerId\s*=\s*'([^']+)",
r'By:\s*<a href="/community/profile\.php?user=([^"]+)'], r'By:\s*<a href="/community/profile\.php\?user=([^"]+)'],
webpage, 'uploader', fatal=False) webpage, 'uploader', fatal=False)
video_description = self._html_search_regex( video_description = self._html_search_regex(
r'<p class="fieldsDesc">([^<]+)', r'<p class="fieldsDesc">([^<]+)',

Loading…
Cancel
Save