projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2006a06
)
[spankwire] Fixed uploader_id field extraction so that test case passes
author
clauderains
<clauderains3319@gmail.com>
Sun, 23 Aug 2015 09:46:29 +0000
(
02:46
-0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 23 Aug 2015 16:21:54 +0000
(22:21 +0600)
youtube_dl/extractor/spankwire.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/spankwire.py
b/youtube_dl/extractor/spankwire.py
index 5fa6faf18b738aa32e384972bf65ad56188ad9b4..0a35c2b3b5b97f32b11c6022aad7033a6193a2b3 100644
(file)
--- 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+',