Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aria2rpc script is missing option to load cookies #845

Open
jdarias opened this issue Jan 31, 2017 · 4 comments
Open

aria2rpc script is missing option to load cookies #845

jdarias opened this issue Jan 31, 2017 · 4 comments
Labels

Comments

@jdarias
Copy link

jdarias commented Jan 31, 2017

I use the aria2rpc ruby script to send downloads to my aria2 rpc server via flashgot in firefox.
i do it like this:
addUri [URL] --secret mypassword

However the downloads that require cookie information won´t work that way.

I tried
addUri [URL] --secret mypassword --load-cookies [CFILE]
But there´s nothing about the --load-cookies option in the aria2rpc script so it won´t work.

@tatsuhiro-t
Copy link
Collaborator

--load--cookie options is not available in RPC request.

@Jimmy-Z
Copy link
Contributor

Jimmy-Z commented Feb 14, 2017

you can use header to accomplish something similar.

@jdarias
Copy link
Author

jdarias commented Feb 20, 2017

Jimmy-Z please be more specific

@Jimmy-Z
Copy link
Contributor

Jimmy-Z commented Feb 21, 2017

cookies are transported as additional HTTP headers, and addUri do support the header parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants