youtube-dl add-header option

This commit is contained in:
Bahaa Zahika
2022-05-01 06:57:05 +03:00
parent 3a13bfa244
commit 45dc7f9b49
2 changed files with 2 additions and 1 deletions

View File

@@ -122,6 +122,7 @@ class youtubedlOptions
'prefer-insecure' => 'an unencrypted connection to retrieve information about the video (Currently supported only for YouTube)', 'prefer-insecure' => 'an unencrypted connection to retrieve information about the video (Currently supported only for YouTube)',
'user-agent' => 'Specify a custom user agent', 'user-agent' => 'Specify a custom user agent',
'referer' => 'Specify a custom referer, use if the video access is restricted to one domain', 'referer' => 'Specify a custom referer, use if the video access is restricted to one domain',
'add-header' => 'Specify a custom HTTP header and its value, separated by a colon \':\'. You can use this option multiple times'
'bidi-workaround' => 'around terminals that lack bidirectional text support. Requires bidiv or fribidi executable in PATH', 'bidi-workaround' => 'around terminals that lack bidirectional text support. Requires bidiv or fribidi executable in PATH',
'sleep-interval' => 'Number of seconds to sleep before each download. This is the minimum time to sleep when used along with --max-sleep-', 'sleep-interval' => 'Number of seconds to sleep before each download. This is the minimum time to sleep when used along with --max-sleep-',
'max-sleep-interval' => 'Maximum number of seconds to sleep. Can only be used along with --min-sleep-interval', 'max-sleep-interval' => 'Maximum number of seconds to sleep. Can only be used along with --min-sleep-interval',

File diff suppressed because one or more lines are too long