]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[xtube] Fix uploader regex
authorSergey M․ <dstftw@gmail.com>
Fri, 2 Jan 2015 15:46:57 +0000 (21:46 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 2 Jan 2015 15:46:57 +0000 (21:46 +0600)
youtube_dl/extractor/xtube.py

index cf74d4fd5059af368d72b845c15f3e1415e6481c..95f1c8f3cf20bdd83b3e524808e5c5fb20cde680 100644 (file)
@@ -40,7 +40,7 @@ class XTubeIE(InfoExtractor):
             r'<p class="title">([^<]+)', webpage, 'title')
         video_uploader = self._html_search_regex(
             [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)
         video_description = self._html_search_regex(
             r'<p class="fieldsDesc">([^<]+)',