mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-02-06 10:09:50 +00:00
document "protocol" field
This commit is contained in:
parent
3b9dad9942
commit
8e8e95a490
@ -250,7 +250,10 @@ class InfoExtractor(object):
|
|||||||
preference, each element is a dictionary with the "ext"
|
preference, each element is a dictionary with the "ext"
|
||||||
entry and one of:
|
entry and one of:
|
||||||
* "data": The subtitles file contents
|
* "data": The subtitles file contents
|
||||||
* "url": A URL pointing to the subtitles file
|
* "url": A URL pointing to the subtitles resource
|
||||||
|
With "url", a "protocol" entry (as for "formats" above)
|
||||||
|
may be provided to indicate how the URL should be
|
||||||
|
processed; by default it is a file downloaded by HTTP(S)
|
||||||
"ext" will be calculated from URL if missing
|
"ext" will be calculated from URL if missing
|
||||||
automatic_captions: Like 'subtitles', used by the YoutubeIE for
|
automatic_captions: Like 'subtitles', used by the YoutubeIE for
|
||||||
automatically generated captions
|
automatically generated captions
|
||||||
|
Loading…
Reference in New Issue
Block a user