Skip to content

Commit 840c672

Browse files
authored
Merge pull request #55 from bahaaza/master
youtube-dl add-header option
2 parents d510ea7 + 386e10e commit 840c672

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/Tools/youtubedlOptions.php

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

0 commit comments

Comments
 (0)