Add field name for subtitles
Co-authored by: pukkandan, tpikonen Based on: #310, https://github.com/ytdl-org/youtube-dl/pull/26112
This commit is contained in:
parent
120916dac2
commit
2412044c90
3 changed files with 18 additions and 6 deletions
|
|
@ -250,6 +250,8 @@ class InfoExtractor(object):
|
|||
entry and one of:
|
||||
* "data": The subtitles file contents
|
||||
* "url": A URL pointing to the subtitles file
|
||||
It can optionally also have:
|
||||
* "name": Name or description of the subtitles
|
||||
"ext" will be calculated from URL if missing
|
||||
automatic_captions: Like 'subtitles'; contains automatically generated
|
||||
captions instead of normal subtitles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue