aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/spankwire.py
diff options
context:
space:
mode:
authorSergey M. <dstftw@gmail.com>2014-02-22 16:50:08 +0700
committerSergey M. <dstftw@gmail.com>2014-02-22 16:50:08 +0700
commit2e7b4cb714e021f3660e7d2a7ba1e9a575bc2e6f (patch)
tree5a97ade021173974b76221cd6e24f7a7bc5f5192 /youtube_dl/extractor/spankwire.py
parent9767726b6689e25540530b6551296aed43a0808e (diff)
[spankwire] Fix uploader id regex
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 45703ec25..2007a0013 100644
--- a/youtube_dl/extractor/spankwire.py
+++ b/youtube_dl/extractor/spankwire.py
@@ -49,7 +49,7 @@ class SpankwireIE(InfoExtractor):
uploader = self._html_search_regex(
r'by:\s*<a [^>]*>(.+?)</a>', webpage, 'uploader', fatal=False)
uploader_id = self._html_search_regex(
- r'by:\s*<a href="/Profile.aspx?.*?UserId=(\d+).*?"', webpage, 'uploader id', fatal=False)
+ r'by:\s*<a href="/Profile\.aspx\?.*?UserId=(\d+).*?"', webpage, 'uploader id', fatal=False)
upload_date = self._html_search_regex(r'</a> on (.+?) at \d+:\d+', webpage, 'upload date', fatal=False)
if upload_date:
upload_date = unified_strdate(upload_date)