Browse Source

[vimeo] Fix subtitles URLs (#24209)

master
tsia 5 years ago
committed by GitHub
parent
commit
1c45ff5572
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/vimeo.py

+ 2
- 1
youtube_dl/extractor/vimeo.py View File

@ -33,6 +33,7 @@ from ..utils import (
unified_timestamp,
unsmuggle_url,
urlencode_postdata,
urljoin,
unescapeHTML,
)
@ -191,7 +192,7 @@ class VimeoBaseInfoExtractor(InfoExtractor):
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…
Cancel
Save