Skip to content

Commit

Permalink
Update youtube-upnext.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
cvzi authored Mar 4, 2024
1 parent 9c6c664 commit fc0b4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube-upnext.lua
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ local function download_upnext(url, post_data)
table.insert(command, "--data")
table.insert(command, post_data)
end
if opts.cookies == nil or opts.cookies == "" then
if opts.cookies ~= nil and opts.cookies ~= "" then
table.insert(command, "--cookie-jar")
table.insert(command, opts.cookies)
table.insert(command, "--cookie")
Expand Down

0 comments on commit fc0b4a8

Please sign in to comment.