projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
669625a
)
[vimeo] Fix subtitles URLs (#24209)
author
tsia
<github@tsia.de>
Mon, 2 Mar 2020 18:27:40 +0000
(19:27 +0100)
committer
GitHub
<noreply@github.com>
Mon, 2 Mar 2020 18:27:40 +0000
(
01:27
+0700)
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 1da4ced96c537cb9fbfcee9e2a757083b6ce633a..8cd611e1e42f177e7331ca4c3ea08a350a613e7f 100644
(file)
--- a/
youtube_dl/extractor/vimeo.py
+++ b/
youtube_dl/extractor/vimeo.py
@@
-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 = []