cookie-puppeteer


Namecookie-puppeteer JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/Simatwa/cookie-puppeteer
SummaryRetrieve cookies exported by Export cookie JSON File Puppeteer extension
upload_time2024-02-25 14:47:49
maintainerSmartwa
docs_urlNone
authorSmartwa
requires_python>=3.10
licenseMIT
keywords cookies cookies-puppeteer
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # cookie-puppeteer

Retrieve cookies exported by Export cookie JSON File Puppeteer extension

# Installation

```sh
pip install cookie-puppeteer
```

# Usage

```python
from cookie_puppeteer import Puppeteer

cookies = Puppeteer("/home/smartwa/Downloads/gemini.google.com.cookies.json")

print(cookies.get("AEC"))
# Ae3NU9ORz35qy6ucvgm9D3U161kwUayh0dj*********
```

<details>

<summary>
Console
</summary>

`$ cookie-puppeteer --help` or `$ cpt -h`

```
usage: cookie-puppeteer [-h] [-v] [-k [KEY ...]] [-d [DEFAULT ...]]
                        [-i INDENT] [--whole]
                        PATH

Retrieve cookies exported by Export cookie JSON File Puppeteer extension

positional arguments:
  PATH                  Path to cookie file

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -k [KEY ...], --key [KEY ...]
                        Set cookie value of this key
  -d [DEFAULT ...], --default [DEFAULT ...]
                        Default cookie value incase of None
  -i INDENT, --indent INDENT
                        Stdout all cookies with this indentation - 4
  --whole               Stdout whole cookie contents

```

</details>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Simatwa/cookie-puppeteer",
    "name": "cookie-puppeteer",
    "maintainer": "Smartwa",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "cookies,cookies-puppeteer",
    "author": "Smartwa",
    "author_email": "simatwacaleb@proton.me",
    "download_url": "https://files.pythonhosted.org/packages/a8/c5/762e23408e745582995981b429c69329bd76ac35bd5582ca989cb1594733/cookie-puppeteer-0.0.1.tar.gz",
    "platform": null,
    "description": "# cookie-puppeteer\n\nRetrieve cookies exported by Export cookie JSON File Puppeteer extension\n\n# Installation\n\n```sh\npip install cookie-puppeteer\n```\n\n# Usage\n\n```python\nfrom cookie_puppeteer import Puppeteer\n\ncookies = Puppeteer(\"/home/smartwa/Downloads/gemini.google.com.cookies.json\")\n\nprint(cookies.get(\"AEC\"))\n# Ae3NU9ORz35qy6ucvgm9D3U161kwUayh0dj*********\n```\n\n<details>\n\n<summary>\nConsole\n</summary>\n\n`$ cookie-puppeteer --help` or `$ cpt -h`\n\n```\nusage: cookie-puppeteer [-h] [-v] [-k [KEY ...]] [-d [DEFAULT ...]]\n                        [-i INDENT] [--whole]\n                        PATH\n\nRetrieve cookies exported by Export cookie JSON File Puppeteer extension\n\npositional arguments:\n  PATH                  Path to cookie file\n\noptions:\n  -h, --help            show this help message and exit\n  -v, --version         show program's version number and exit\n  -k [KEY ...], --key [KEY ...]\n                        Set cookie value of this key\n  -d [DEFAULT ...], --default [DEFAULT ...]\n                        Default cookie value incase of None\n  -i INDENT, --indent INDENT\n                        Stdout all cookies with this indentation - 4\n  --whole               Stdout whole cookie contents\n\n```\n\n</details>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Retrieve cookies exported by Export cookie JSON File Puppeteer extension",
    "version": "0.0.1",
    "project_urls": {
        "Bug Report": "https://github.com/Simatwa/cookie-puppeteer/issues/new",
        "Documentation": "https://github.com/Simatwa/cookie-puppeteer/blob/main/docs",
        "Download": "https://github.com/Simatwa/cookie-puppeteer/releases",
        "Homepage": "https://github.com/Simatwa/cookie-puppeteer",
        "Issue Tracker": "https://github.com/Simatwa/cookie-puppeteer/issues",
        "Source Code": "https://github.com/Simatwa/cookie-puppeteer"
    },
    "split_keywords": [
        "cookies",
        "cookies-puppeteer"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "79198b68a2568d849f7937cc25659030d0ba3daad11b9b1cf604d79866c70c53",
                "md5": "9ee724708427e3efb884aadbd6836e67",
                "sha256": "4d20dd6ac7876a3dd38e3e5df95eff99908e515eca1dadcc949c8621f1a08365"
            },
            "downloads": -1,
            "filename": "cookie_puppeteer-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9ee724708427e3efb884aadbd6836e67",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 4956,
            "upload_time": "2024-02-25T14:47:43",
            "upload_time_iso_8601": "2024-02-25T14:47:43.139896Z",
            "url": "https://files.pythonhosted.org/packages/79/19/8b68a2568d849f7937cc25659030d0ba3daad11b9b1cf604d79866c70c53/cookie_puppeteer-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8c5762e23408e745582995981b429c69329bd76ac35bd5582ca989cb1594733",
                "md5": "4d757bcd033bf5e35f98f3101415816b",
                "sha256": "a016aa8efab0029da76d3c311accb668ebc45c85db573731e86ed52827085b4c"
            },
            "downloads": -1,
            "filename": "cookie-puppeteer-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "4d757bcd033bf5e35f98f3101415816b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 4244,
            "upload_time": "2024-02-25T14:47:49",
            "upload_time_iso_8601": "2024-02-25T14:47:49.877568Z",
            "url": "https://files.pythonhosted.org/packages/a8/c5/762e23408e745582995981b429c69329bd76ac35bd5582ca989cb1594733/cookie-puppeteer-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-25 14:47:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Simatwa",
    "github_project": "cookie-puppeteer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "cookie-puppeteer"
}
        
Elapsed time: 3.90301s