File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ If you run into a error determining a video format to download such as this:
34
34
35
35
WARNING: [youtube] RVVDi1PHgw4: nsig extraction failed: Some formats may be missing
36
36
37
+ If you run into this error:
38
+
39
+ ERROR: [youtube] ...: Sign in to confirm you’re not a bot.
40
+
41
+ Then you should provide a filename and then after it args to pass to yt-dlp such as
42
+
43
+ --cookies-from-browser chrome
44
+
37
45
Try to upgrade yt-dlp first as sites like YouTube update their site breaking this and requiring a yt-dlp update
38
46
"
39
47
@@ -113,7 +121,13 @@ else
113
121
timestamp " Determining download filename"
114
122
# "$format" is only needed here for it to return the right file extension
115
123
# in the "$output_filename" format eg. '.mp4' instead of '.webm'
116
- filename=" $( yt-dlp --get-filename --format " $format " --output " $output_filename " " $url " ) "
124
+ filename=" $(
125
+ yt-dlp --get-filename \
126
+ --format " $format " \
127
+ --output " $output_filename " \
128
+ " $@ " \
129
+ " $url "
130
+ ) "
117
131
fi
118
132
if ! [ -f " $filename " ]; then
119
133
die " Failed to find expected output file: $filename "
You can’t perform that action at this time.
0 commit comments