auto-download-undetected-chromedriver


Nameauto-download-undetected-chromedriver JSON
Version 0.16 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/auto_download_undetected_chromedriver
SummaryScript to automatically download the right undetected chromedriver version
upload_time2023-08-23 05:41:11
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords chromedriver selenium patched bot automation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Script to automatically download the right undetected chromedriver version

## pip install auto-download-undetected-chromedriver

[GitHub - ultrafunkamsterdam/undetected-chromedriver: Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)](https://github.com/ultrafunkamsterdam/undetected-chromedriver)

### Works on Windows / MacOS thanks to @sdfgsdfgd

```python
How to use:
$pip install auto-download-undetected-chromedriver

Args:
    folder_path_for_exe (str): The path to the folder where the ChromeDriver executable will be saved.
    undetected (bool, optional): Apply the undetected patch to the downloaded ChromeDriver binary. Defaults to True.
    arm (bool, optional): If True, download the ARM architecture version of ChromeDriver for Mac. Defaults to False.
    force_update (bool, optional): Force the update of the ChromeDriver binary, even if it's already present. Defaults to True.
    dowloadurl (str, optional): URL to the JSON file containing download links for ChromeDriver versions.
        Defaults to the official repository URL (https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build-with-downloads.json).

Returns:
    str: The path to the downloaded and possibly patched ChromeDriver executable.

Note:
- The function detects the operating system and Chrome version to download the appropriate ChromeDriver version.
- If 'undetected' is True, the function patches the ChromeDriver binary with an additional console log message to make it harder to detect.
- Use the returned executable path to start ChromeDriver with the provided options.

Example:
    from auto_download_undetected_chromedriver import download_undetected_chromedriver
    folder_path = "c:\\download2thisfolder"
    chromedriver_path = download_undetected_chromedriver(folder_path, undetected=True, arm=False, force_update=True)

```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/auto_download_undetected_chromedriver",
    "name": "auto-download-undetected-chromedriver",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "chromedriver,selenium,patched,bot,automation",
    "author": "Johannes Fischer",
    "author_email": "aulasparticularesdealemaosp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ed/bd/1aee382774a627b7345936080cff606e3f933d75bbe0b62e08b40e0c6195/auto_download_undetected_chromedriver-0.16.tar.gz",
    "platform": null,
    "description": "\r\n# Script to automatically download the right undetected chromedriver version\r\n\r\n## pip install auto-download-undetected-chromedriver\r\n\r\n[GitHub - ultrafunkamsterdam/undetected-chromedriver: Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)](https://github.com/ultrafunkamsterdam/undetected-chromedriver)\r\n\r\n### Works on Windows / MacOS thanks to @sdfgsdfgd\r\n\r\n```python\r\nHow to use:\r\n$pip install auto-download-undetected-chromedriver\r\n\r\nArgs:\r\n    folder_path_for_exe (str): The path to the folder where the ChromeDriver executable will be saved.\r\n    undetected (bool, optional): Apply the undetected patch to the downloaded ChromeDriver binary. Defaults to True.\r\n    arm (bool, optional): If True, download the ARM architecture version of ChromeDriver for Mac. Defaults to False.\r\n    force_update (bool, optional): Force the update of the ChromeDriver binary, even if it's already present. Defaults to True.\r\n    dowloadurl (str, optional): URL to the JSON file containing download links for ChromeDriver versions.\r\n        Defaults to the official repository URL (https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build-with-downloads.json).\r\n\r\nReturns:\r\n    str: The path to the downloaded and possibly patched ChromeDriver executable.\r\n\r\nNote:\r\n- The function detects the operating system and Chrome version to download the appropriate ChromeDriver version.\r\n- If 'undetected' is True, the function patches the ChromeDriver binary with an additional console log message to make it harder to detect.\r\n- Use the returned executable path to start ChromeDriver with the provided options.\r\n\r\nExample:\r\n    from auto_download_undetected_chromedriver import download_undetected_chromedriver\r\n    folder_path = \"c:\\\\download2thisfolder\"\r\n    chromedriver_path = download_undetected_chromedriver(folder_path, undetected=True, arm=False, force_update=True)\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Script to automatically download the right undetected chromedriver version",
    "version": "0.16",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/auto_download_undetected_chromedriver"
    },
    "split_keywords": [
        "chromedriver",
        "selenium",
        "patched",
        "bot",
        "automation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "852bf2e5b7c8fb4ecfa179429a818f0c6c960bf7b26223f8f917953936692589",
                "md5": "0a8c318537c989891ba64cde00e2cb59",
                "sha256": "8cbed589891846e3bf2ddef4748d80342a794e627917c56b953df321845981f6"
            },
            "downloads": -1,
            "filename": "auto_download_undetected_chromedriver-0.16-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0a8c318537c989891ba64cde00e2cb59",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 13051,
            "upload_time": "2023-08-23T05:41:10",
            "upload_time_iso_8601": "2023-08-23T05:41:10.115218Z",
            "url": "https://files.pythonhosted.org/packages/85/2b/f2e5b7c8fb4ecfa179429a818f0c6c960bf7b26223f8f917953936692589/auto_download_undetected_chromedriver-0.16-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "edbd1aee382774a627b7345936080cff606e3f933d75bbe0b62e08b40e0c6195",
                "md5": "d4e6b7995ca314bf1f6fbf6efd921649",
                "sha256": "75b44dc9da92bed701e7ff6f1860505156b7fb1de288d382632bd6df4cc976f1"
            },
            "downloads": -1,
            "filename": "auto_download_undetected_chromedriver-0.16.tar.gz",
            "has_sig": false,
            "md5_digest": "d4e6b7995ca314bf1f6fbf6efd921649",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11804,
            "upload_time": "2023-08-23T05:41:11",
            "upload_time_iso_8601": "2023-08-23T05:41:11.822036Z",
            "url": "https://files.pythonhosted.org/packages/ed/bd/1aee382774a627b7345936080cff606e3f933d75bbe0b62e08b40e0c6195/auto_download_undetected_chromedriver-0.16.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-23 05:41:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "auto_download_undetected_chromedriver",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "auto-download-undetected-chromedriver"
}
        
Elapsed time: 0.33293s