diff options
author | Sergey M. <dstftw@gmail.com> | 2014-02-22 16:50:08 +0700 |
---|---|---|
committer | Sergey M. <dstftw@gmail.com> | 2014-02-22 16:50:08 +0700 |
commit | 2e7b4cb714e021f3660e7d2a7ba1e9a575bc2e6f (patch) | |
tree | 5a97ade021173974b76221cd6e24f7a7bc5f5192 /youtube_dl/extractor | |
parent | 9767726b6689e25540530b6551296aed43a0808e (diff) |
[spankwire] Fix uploader id regex
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/spankwire.py | 2 |
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) |