url
is now a positional argument (no longer requires-u
)- Browser type must be passed as a variant of the
BrowserType
enum; string is no longer supported - Now requires python >= 3.9
- Assume
https://
if the scheme is not specified - Add
--version
flag (thanks @samiam) - Add
-c
flag to specify custom path to cookie file (thanks @samiam) - Convert the
browser
argument into aBrowserType
at parse time
- Fix new path to Firefox profile on MacOS (thanks @MattMuffin)
- Support Chrome's new v24 cookies (thanks @chrisgavin)
- Add new top-level
get_cookies
function that can be used for all supported browsers- No longer need to use separate
chrome_cookies
orfirefox_cookies
functions, but will leave these around for backwards compatibility
- No longer need to use separate
- Use
ruff
instead of hodgepodge offlake8
/pycodestyle
/black
and others
- Now requires python >= 3.8
- 3.7 is now EoL: https://devguide.python.org/versions/
- pycookiecheat seems to build and run on 3.7, but several test dependencies require versions that are either incompatible with 3.12 or 3.7
- Add
BrowserType
enum- Instead of passing a string (e.g. "chrome"), please import and use a
BrowserType
(e.g.BrowserType.CHROME
) - Add deprecation warning for passing strings
- Instead of passing a string (e.g. "chrome"), please import and use a
- Added a nix flake to facilitate testing multiple python versions
- Add basic logging
- Add CLI tool
- Add
as_cookies
parameter to allow returninglist[Cookie]
instead ofdict
(without breaking backward compatibility) - Loosen dependency constrains, which should make usage as a library easier
- Add firefox support, thanks to @grandchild
- Also would like to welcome @grandchild as a new member of the pycookiecheat team!
- Add support for Brave thanks to @chrisgavin!
- Add support for Slack thanks to @hraftery!
- Migrate config to pyproject.toml alone
- Minor cleanup to codebase and tests
- No noteworthy API changes, hence the bugfix version bump, but some major
infrastructure and testing updates:
- Now uses GitHub Actions instead of Travis
- Now uses Playwright for testing, to actually open a Chromium instance and
use a real
Cookies
database - PEP517
- black
- Now requires python >= 3.7
- This is largely due to requiremets of Playwright: https://pypi.org/project/playwright/, which is only a test dependency
- Because I can't test with <=3.6, I'm not listing it as compatible, though it probably will still work
- Migrate to pyproject.toml
- Try to open Chrome database in read-only mode to avoid db locked errors (#29)
- db6ac6d Go back to using cryptography due to https://www.cvedetails.com/cve/CVE-2013-7459/
- c70ad51 Allow users to override password (thanks @alairock)
- Optionally outputs cookies to a file compatible with cURL (thanks to Muntashir Al-Islam!)
- Consistently use Chrome as default across platforms, allow user to specify Chromium as desired (thanks @jtbraun)
- Remove compatibility for Python <3.5
- Add type hints
- Refactor for smaller functions
- Expand docstrings
- Revert from
cryptography
back toPyCrypto
andhashlib
for easier installation.
- Add support for new Ubuntu keyring / libsecret
- See #12 for details
- Many thanks to @stat1c1c3au and @trideceth12 for contributions
- Use
cryptography
instead ofpycrypto
(thanks to Taik!)- Seems to be significantly faster
- Works with PyPy >= 2.6.0 (no support for PyPy3 yet)
- Fix domain and subdomain matching
- Make SQL query more secure by avoiding string formatting
- Many thanks to Brandon Rhodes for 24c4234 !
- Read version to separate file so it can be imported in setup.py
- Bugfix for python2 on linux
- Bugfix for python2 on linux
- Python2 support (thanks dani14-96)
- Configurable cookies file (thanks ankostis)
- OSError instead of Exception for wrong OS.
- Moved testing requirements to tox and travis-ci files.
- Updated to work better with PyPI's lack of markdown support
- Working on tox and travis-ci integration
- Added a few basic tests that should pass if one has Chrome installed and has visited my site (n8henrie.com)
- Added sys.exit(0) if cookie_file not found so tests pass on travis-ci.
- First release on PyPI.
- 20150221 v2.0.1: Now should find cookies for base domain and all subs.
- 20140518 v2.0: Now works with Chrome's new encrypted cookies.