mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
[spankwire] Fixed uploader_id field extraction so that test case passes
This commit is contained in:
parent
2006a06eff
commit
9990c960f2
@ -54,7 +54,7 @@ def _real_extract(self, url):
|
||||
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+',
|
||||
|
Loading…
Reference in New Issue
Block a user