|
|
@ -32,12 +32,10 @@ Kemal.config.extra_options do |parser|
|
|
|
|
exit
|
|
|
|
exit
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
parser.on("-h", "--help", "Show this help") do
|
|
|
|
|
|
|
|
puts parser
|
|
|
|
|
|
|
|
exit
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Kemal::CLI.new
|
|
|
|
|
|
|
|
|
|
|
|
PG_DB = DB.open "postgres://kemal:kemal@localhost:5432/invidious"
|
|
|
|
PG_DB = DB.open "postgres://kemal:kemal@localhost:5432/invidious"
|
|
|
|
URL = URI.parse("https://www.youtube.com")
|
|
|
|
URL = URI.parse("https://www.youtube.com")
|
|
|
|
CONTEXT = OpenSSL::SSL::Context::Client.new
|
|
|
|
CONTEXT = OpenSSL::SSL::Context::Client.new
|
|
|
|