mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 15:14:57 +00:00
[Oreilly] Bugfix for 7738bd3272
This commit is contained in:
parent
f9cc0161e6
commit
9c1c3ec016
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ class SafariApiIE(SafariBaseIE):
|
|||
if 'library/view' in web_url:
|
||||
web_url = web_url.replace('library/view', 'videos')
|
||||
natural_keys = part['natural_key']
|
||||
web_url = f'{web_url.rsplit("/")[0]}/{natural_keys[0]}-{natural_keys[1][:-5]}'
|
||||
web_url = f'{web_url.rsplit("/", 1)[0]}/{natural_keys[0]}-{natural_keys[1][:-5]}'
|
||||
return self.url_result(web_url, SafariIE.ie_key())
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue