projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28b8349
)
[spankwire] Preserve old uploader pattern
author
Sergey M․
<dstftw@gmail.com>
Sun, 23 Aug 2015 16:33:26 +0000
(22:33 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 23 Aug 2015 16:33:26 +0000
(22:33 +0600)
youtube_dl/extractor/spankwire.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/spankwire.py
b/youtube_dl/extractor/spankwire.py
index 609f78294bdbe3dbf50aed9cf86a4a079164b76d..9e8fb35b2ebfc1343944db37438d8a7bdd4e70ea 100644
(file)
--- 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+',