# Introduction
## Install package
```shell
pip install browser_dog
```
## Preparation
- create file `linkedin_cookies.json`
- please use Chrome Extension `EditThisCookie` to export linkedin cookies to `linkedin_cookies.json`
## Example Usage:
```python
from browser_dog.browser import BrowserDog
cat = BrowserDog('cookie.json', 'https://gitee.com', headless=True)
driver = cat.get_driver()
driver.get("https://gitee.com/login")
cat.long_wait()
# Get HTML
html = driver.page_source
```
Raw data
{
"_id": null,
"home_page": "https://www.linkedin.com/in/chandlersong/",
"name": "browser-dog",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "selenium automation browser cookies",
"author": "chandler song",
"author_email": "275737875@qq.com",
"download_url": "https://files.pythonhosted.org/packages/b1/2f/af6bb63c725efaef4fff57899614eb5e5695f6e9dc3af6ed2580db743c85/browser_dog-0.0.1.tar.gz",
"platform": "all",
"description": "# Introduction\r\n## Install package\r\n```shell\r\npip install browser_dog\r\n```\r\n## Preparation\r\n\r\n- create file `linkedin_cookies.json`\r\n\r\n- please use Chrome Extension `EditThisCookie` to export linkedin cookies to `linkedin_cookies.json`\r\n\r\n## Example Usage:\r\n\r\n```python\r\nfrom browser_dog.browser import BrowserDog\r\n\r\ncat = BrowserDog('cookie.json', 'https://gitee.com', headless=True)\r\ndriver = cat.get_driver()\r\n\r\ndriver.get(\"https://gitee.com/login\")\r\ncat.long_wait()\r\n\r\n# Get HTML\r\nhtml = driver.page_source\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "chrome selenium browser by cookies",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://www.linkedin.com/in/chandlersong/"
},
"split_keywords": [
"selenium",
"automation",
"browser",
"cookies"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b12faf6bb63c725efaef4fff57899614eb5e5695f6e9dc3af6ed2580db743c85",
"md5": "7748ffa8ca80d3f5486b26bab17161ce",
"sha256": "5e2e8a41cb33a13fa5836e382dee3143204e3e123c7b91d24621e5e20f0da676"
},
"downloads": -1,
"filename": "browser_dog-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "7748ffa8ca80d3f5486b26bab17161ce",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3262,
"upload_time": "2024-06-23T07:10:47",
"upload_time_iso_8601": "2024-06-23T07:10:47.977189Z",
"url": "https://files.pythonhosted.org/packages/b1/2f/af6bb63c725efaef4fff57899614eb5e5695f6e9dc3af6ed2580db743c85/browser_dog-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-23 07:10:47",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "browser-dog"
}