1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-16 08:25:33 +00:00

[ie/vimeo] Extract subtitles from player subdomain (#13350)

Closes #12198
Authored by: bashonly
This commit is contained in:
bashonly 2025-06-01 18:20:29 -05:00 committed by GitHub
parent 148a1eb4c5
commit c723c4e5e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -236,7 +236,7 @@ class VimeoBaseInfoExtractor(InfoExtractor):
for tt in (request.get('text_tracks') or []): for tt in (request.get('text_tracks') or []):
subtitles.setdefault(tt['lang'], []).append({ subtitles.setdefault(tt['lang'], []).append({
'ext': 'vtt', 'ext': 'vtt',
'url': urljoin('https://vimeo.com', tt['url']), 'url': urljoin('https://player.vimeo.com/', tt['url']),
}) })
thumbnails = [] thumbnails = []