1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-06-22 19:36:20 +00:00

Merge 2d900facc4fa5c8e93e08a8ca346b58fdf389169 into c052a16f72af7dd7671d4dd62826de71cd99dfb6

This commit is contained in:
cdarlint 2025-04-14 09:02:39 +00:00 committed by GitHub
commit 8a5c0a0bbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -193,6 +193,9 @@ class SafariApiIE(SafariBaseIE):
part = self._download_json(
url, '%s/%s' % (mobj.group('course_id'), mobj.group('part')),
'Downloading part JSON')
part['web_url'] = part['asset_base_url'].replace('library/view',
'videos') +\
part['videoclips'][0]['reference_id'] + '/'
return self.url_result(part['web_url'], SafariIE.ie_key())