1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 01:02:53 +08:00

[xtube] Fix uploader regex

This commit is contained in:
Sergey M․ 2015-01-02 21:46:57 +06:00
parent d34f98289b
commit 324b2c78fa

View File

@ -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">([^<]+)',