Browse Source

[spankwire] Preserve old uploader pattern

totalwebcasting
Sergey M․ 9 years ago
parent
commit
90076b6172
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/spankwire.py

+ 1
- 1
youtube_dl/extractor/spankwire.py View File

@ -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+',


Loading…
Cancel
Save