File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ If you run into this error:
38
38
39
39
ERROR: [youtube] ...: Sign in to confirm you’re not a bot.
40
40
41
- Then you should provide a filename and then after it args to pass to yt-dlp such as
41
+ Then set this in your shell first with the name of your browser:
42
42
43
- --cookies-from-browser chrome
43
+ export YT_DLP_COOKIES_FROM_BROWSER= chrome
44
44
45
45
Try to upgrade yt-dlp first as sites like YouTube update their site breaking this and requiring a yt-dlp update
46
46
"
@@ -105,6 +105,7 @@ yt-dlp \
105
105
--retries 50 \
106
106
--output " $output_filename " \
107
107
${DEBUG: +--verbose} \
108
+ ${YT_DLP_COOKIES_FROM_BROWSER: +--cookies-from-browser " $YT_DLP_COOKIES_FROM_BROWSER " } \
108
109
" $@ " \
109
110
" $url "
110
111
125
126
yt-dlp --get-filename \
126
127
--format " $format " \
127
128
--output " $output_filename " \
129
+ ${YT_DLP_COOKIES_FROM_BROWSER: +--cookies-from-browser " $YT_DLP_COOKIES_FROM_BROWSER " } \
128
130
" $@ " \
129
131
" $url "
130
132
) "
You can’t perform that action at this time.
0 commit comments