Load cookies from any browser on any platform
cargo add rookieThere's Python bindings to rookie
pip install rookiepyAnd the usage it similar to original
import rookiepy
cookies = rookiepy.firefox(["google.com"])
for cookie in cookies:
print(cookie['domain'], cookie['value'])Python examples
Rust rookie-rs/examples
Python
Rust
- Fast, written in
Rust - Bypass
Chromerestriction like file locking - Wide platforms and browsers support
You can use rookie as a CLI tool which will decrypt the cookies and print it as JSON
See cli folder
So far the following platforms are supported:
- Chrome:
Linux,MacOS,Windows - Firefox:
Linux,MacOS,Windows - LibreWolf:
Linux,MacOS,Windows - Opera:
Linux,MacOS,Windows - Opera GX:
MacOS,Windows - Edge: Linux,
MacOS,Windows - Internet Explorer:
Windows - Chromium:
Linux,MacOS,Windows - Brave:
Linux,MacOS,Windows - Vivaldi:
Linux,MacOS,Windows - Safari:
MacOS
You are welcome to contribute support for other browsers, or other platforms.
If you have a browser with which the library isn't working with, it may not have been added to the list of supported browsers configs. You can create a pull request (PR) or an issue with the path to the cookies file on your computer, and I will add it.
look at config.rs to see what configurations is needed.
| Browser | Linux | MacOS | Windows |
|---|---|---|---|
| Chrome | 01/10/23 | 25/11/23 | 1/10/23 |
| Firefox | 01/10/23 | 25/11/23 | 1/10/23 |
| LibreWolf | 01/10/23 | 25/11/23 | 1/10/23 |
| Opera | 01/10/23 | - | 1/10/23 |
| Opera GX | N/A | - | 1/10/23 |
| Edge | 01/10/23 | - | 1/10/23 |
| IE | N/A | N/A | 1/10/23 |
| Chromium | 01/10/23 | 25/11/23 | 1/10/23 |
| Brave | 01/10/23 | 25/11/23 | 1/10/23 |
| Vivaldi | 01/10/23 | 25/11/23 | 1/10/23 |
| Safari | N/A | 02/10/23 | N/A |