aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/spankwire.py
diff options
context:
space:
mode:
authorclauderains <clauderains3319@gmail.com>2015-08-23 02:46:29 -0700
committerSergey M․ <dstftw@gmail.com>2015-08-23 22:21:54 +0600
commit9990c960f2d944cfbecb7d613062b98fe99464a7 (patch)
treed03025e0273c7327c0b2c37ce8485b793bfbabbc /youtube_dl/extractor/spankwire.py
parent2006a06eff606c5a996c315a3e597b9d2603db9e (diff)
[spankwire] Fixed uploader_id field extraction so that test case passes
Diffstat (limited to 'youtube_dl/extractor/spankwire.py')
-rw-r--r--youtube_dl/extractor/spankwire.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/spankwire.py b/youtube_dl/extractor/spankwire.py
index 5fa6faf18..0a35c2b3b 100644
--- 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+',