Skip to content

Commit

Permalink
Add cookie header to youtube-dl
Browse files Browse the repository at this point in the history
  • Loading branch information
papey committed Apr 1, 2021
1 parent 850a4a9 commit fe284ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/blindtest/downloader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ defmodule Downloader do
end

case System.cmd("youtube-dl", [
"--add-header",
"Cookie:",
"--user-agent",
@user_agent,
"-g",
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule O2M.MixProject do
def project do
[
app: :o2m,
version: "0.7.7",
version: "0.7.8",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down

0 comments on commit fe284ff

Please sign in to comment.