https://github.com/simatwa/cookie-hunter
Sort cookies exported by `Cookies-to-Json` extension.
https://github.com/simatwa/cookie-hunter
Last synced: about 1 year ago
JSON representation
Sort cookies exported by `Cookies-to-Json` extension.
- Host: GitHub
- URL: https://github.com/simatwa/cookie-hunter
- Owner: Simatwa
- License: mit
- Created: 2023-06-10T09:20:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-10T10:31:15.000Z (about 3 years ago)
- Last Synced: 2025-02-16T19:48:42.325Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cookie-hunter
>Sort cookies exported by `Cookies-to-Json` extension.
## Installation
1. Install [addtopath](https://github.com/Simatwa/addtopath)
2. Clone repo
```sh
git clone https://github.com/Simatwa/cookie-hunter.git
cd cookie-hunter
```
3. Execute `addtopath main.py ch`
## Usage
- Export cookies with `Cookies-to-Json` Chrome Extension.
- `$ ch `
* For more info you can run `$ ch -h`
```
usage: main.py [-h] [-i n] [-g KEY] [-p PATH]
[--zero-mapping]
FILE-PATH
Hunt cookies from `Json-to-Cookies` extension
.json files
positional arguments:
FILE-PATH Path to .json file
options:
-h, --help show this help message
and exit
-i n, --indent n Indent level while
dumping json data - 7
-g KEY, --get KEY Stdout the specific
cookie value of the key
-p PATH, --pre PATH Path to .json file
containing key-mappings
--zero-mapping Disable key mappings -
False
```