mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[vimeo] Fix subtitles URLs (#24209)
This commit is contained in:
parent
669625a32c
commit
1c45ff5572
1 changed files with 2 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
unified_timestamp,
|
||||
unsmuggle_url,
|
||||
urlencode_postdata,
|
||||
urljoin,
|
||||
unescapeHTML,
|
||||
)
|
||||
|
||||
|
@ -191,7 +192,7 @@ def _parse_config(self, config, video_id):
|
|||
for tt in text_tracks:
|
||||
subtitles[tt['lang']] = [{
|
||||
'ext': 'vtt',
|
||||
'url': 'https://vimeo.com' + tt['url'],
|
||||
'url': urljoin('https://vimeo.com', tt['url']),
|
||||
}]
|
||||
|
||||
thumbnails = []
|
||||
|
|
Loading…
Reference in a new issue