[spankwire] Fixed uploader_id field extraction so that test case passes

pull/6673/head
clauderains 2015-08-23 02:46:29 -07:00 committed by Sergey M․
parent 2006a06eff
commit 9990c960f2
1 changed files with 1 additions and 1 deletions

View File

@ -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+',