[YoutubeDL] Autocalculate ext for subtitles when missing
This commit is contained in:
parent
ef5acfe32d
commit
4bba371644
2 changed files with 10 additions and 2 deletions
|
@ -165,6 +165,7 @@ class InfoExtractor(object):
|
|||
with the "ext" entry and one of:
|
||||
* "data": The subtitles file contents
|
||||
* "url": A URL pointing to the subtitles file
|
||||
"ext" will be calculated from URL if missing
|
||||
automatic_captions: Like 'subtitles', used by the YoutubeIE for
|
||||
automatically generated captions
|
||||
duration: Length of the video in seconds, as an integer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue