[spankwire] Fix uploader id regex
authorSergey M. <dstftw@gmail.com>
Sat, 22 Feb 2014 09:50:08 +0000 (16:50 +0700)
committerSergey M. <dstftw@gmail.com>
Sat, 22 Feb 2014 09:50:08 +0000 (16:50 +0700)
youtube_dl/extractor/spankwire.py

index 45703ec254bee6d1c07cb8ddf2ad32ee1172aee7..2007a00134dfe73cd721dbee9e86e4f349a2e034 100644 (file)
@@ -49,7 +49,7 @@ class SpankwireIE(InfoExtractor):
         uploader = self._html_search_regex(
             r'by:\s*<a [^>]*>(.+?)</a>', webpage, 'uploader', fatal=False)
         uploader_id = self._html_search_regex(
-            r'by:\s*<a href="/Profile.aspx?.*?UserId=(\d+).*?"', webpage, 'uploader id', fatal=False)
+            r'by:\s*<a href="/Profile\.aspx\?.*?UserId=(\d+).*?"', webpage, 'uploader id', fatal=False)
         upload_date = self._html_search_regex(r'</a> on (.+?) at \d+:\d+', webpage, 'upload date', fatal=False)
         if upload_date:
             upload_date = unified_strdate(upload_date)