[docs] YoutubeDL: add extractor key to retry_sleep_functions

Authored by: bashonly
This commit is contained in:
bashonly 2025-05-23 12:05:25 -05:00
parent 52f9729c9a
commit de5d27ec4f
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -490,7 +490,7 @@ class YoutubeDL:
The template is mapped on a dictionary with keys 'progress' and 'info'
retry_sleep_functions: Dictionary of functions that takes the number of attempts
as argument and returns the time to sleep in seconds.
Allowed keys are 'http', 'fragment', 'file_access'
Allowed keys are 'http', 'fragment', 'file_access', 'extractor'
download_ranges: A callback function that gets called for every video with
the signature (info_dict, ydl) -> Iterable[Section].
Only the returned sections will be downloaded.