commit 9990c960f2d944cfbecb7d613062b98fe99464a7
parent 2006a06eff606c5a996c315a3e597b9d2603db9e
Author: clauderains <clauderains3319@gmail.com>
Date: Sun, 23 Aug 2015 02:46:29 -0700
[spankwire] Fixed uploader_id field extraction so that test case passes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/spankwire.py b/youtube_dl/extractor/spankwire.py
@@ -54,7 +54,7 @@ class SpankwireIE(InfoExtractor):
r'by:\s*<a [^>]*>(.+?)</a>',
webpage, 'uploader', fatal=False)
uploader_id = self._html_search_regex(
- r'by:\s*<a href="/Profile\.aspx\?.*?UserId=(\d+).*?"',
+ r'by:\s*<a href="/user/viewProfile\?.*?UserId=(\d+).*?"',
webpage, 'uploader id', fatal=False)
upload_date = unified_strdate(self._html_search_regex(
r'</a> on (.+?) at \d+:\d+',