[spankwire] Preserve old uploader pattern
authorSergey M․ <dstftw@gmail.com>
Sun, 23 Aug 2015 16:33:26 +0000 (22:33 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 23 Aug 2015 16:33:26 +0000 (22:33 +0600)
youtube_dl/extractor/spankwire.py

index 609f78294bdbe3dbf50aed9cf86a4a079164b76d..9e8fb35b2ebfc1343944db37438d8a7bdd4e70ea 100644 (file)
@@ -68,7 +68,7 @@ class SpankwireIE(InfoExtractor):
             r'by:\s*<a [^>]*>(.+?)</a>',
             webpage, 'uploader', fatal=False)
         uploader_id = self._html_search_regex(
-            r'by:\s*<a href="/user/viewProfile\?.*?UserId=(\d+).*?"',
+            r'by:\s*<a href="/(?:user/viewProfile|Profile\.aspx)\?.*?UserId=(\d+).*?"',
             webpage, 'uploader id', fatal=False)
         upload_date = unified_strdate(self._html_search_regex(
             r'</a> on (.+?) at \d+:\d+',