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

Add browser-cookie CLI #201

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add browser-cookie CLI #201

wants to merge 1 commit into from

Conversation

dlenski
Copy link
Contributor

@dlenski dlenski commented Jan 28, 2024

This CLI is intended to make it easier to experiment with browser-cookie, and to extract cookies for use in shell scripts:

$ browser-cookie --chrome 'web-app.company.com' 'session_state'
eyJr<JSON_WEB_TOKEN>Wgw

Also:

  • Clean up/clarify BrowserCookieError() messages a bit
  • Make FirefoxBased and Safari classes (and functions derived therefrom) take a key_file parameter, but ignore it, for a consistent interface with Chromium-based browsers
  • Cleanup all trailing whitespace (with https://github.com/dlenski/wtf)

Also:

- Clean up/clarify BrowserCookieError() messages a bit
- Make FirefoxBased and Safari classes (and functions derived therefrom)
  take a key_file parameter, but ignore it, for a consistent interface
  with Chromium-based browsers
- Cleanup all trailing whitespace (with https://github.com/dlenski/wtf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant