mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 08:10:36 +01:00
[spankwire] Preserve old uploader pattern
This commit is contained in:
parent
28b83495d8
commit
90076b6172
@ -68,7 +68,7 @@ def _real_extract(self, url):
|
|||||||
r'by:\s*<a [^>]*>(.+?)</a>',
|
r'by:\s*<a [^>]*>(.+?)</a>',
|
||||||
webpage, 'uploader', fatal=False)
|
webpage, 'uploader', fatal=False)
|
||||||
uploader_id = self._html_search_regex(
|
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)
|
webpage, 'uploader id', fatal=False)
|
||||||
upload_date = unified_strdate(self._html_search_regex(
|
upload_date = unified_strdate(self._html_search_regex(
|
||||||
r'</a> on (.+?) at \d+:\d+',
|
r'</a> on (.+?) at \d+:\d+',
|
||||||
|
Loading…
Reference in New Issue
Block a user