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

Import web session from curl's cookie file #5794

Open
fdb-git opened this issue Jan 29, 2024 · 0 comments
Open

Import web session from curl's cookie file #5794

fdb-git opened this issue Jan 29, 2024 · 0 comments

Comments

@fdb-git
Copy link

fdb-git commented Jan 29, 2024

Feature Request

Is your feature request related to a problem? Please describe.

Scoop should import the cookie files generated by Curl (Netscape format)

Use case:
To download manifests and installation archives from some enterprise web servers, Scoop must present authentication tokens.
These tokens are acquired by an external authentication process and saved in a Curl cookie-jar file. (see -b --cookie and -c --cookie-jar options of curl).

Describe the solution you'd like

Add an option like "--cookie-jar /path/to/file" that import cookies from file to a SessionVariable or WebSession object to be used during WebRequest invocations.

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

No branches or pull requests

1 participant