aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-08-23 22:33:26 +0600
committerSergey M․ <dstftw@gmail.com>2015-08-23 22:33:26 +0600
commit90076b6172f25a36ca2a00c1b85cda169f2133c8 (patch)
treea42d1b0c868942cdf8173407bb83d4a7e40215e2 /youtube_dl
parent28b83495d898530e72d242874576f4d2d6d8ab3d (diff)
[spankwire] Preserve old uploader pattern
Diffstat (limited to 'youtube_dl')
-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 609f78294..9e8fb35b2 100644
--- a/youtube_dl/extractor/spankwire.py
+++ b/youtube_dl/extractor/spankwire.py
@@ -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+',