Skip to main content

WebScraping Utils

https://img.shields.io/pypi/dm/d-utils

###Project description Python module to facilitate downloading and deploying WebDriver binaries. The classes in this module can be used to automatically search for and download the latest version (or a specific version) of a WebDriver binary (will download to $HOME/webdriver or /usr/local/webdriver if run with sudo), extract the binary from the downloaded archive and create a symlink in either /usr/local/bin (if run with sudo) or $HOME/bin. Note: For non-root users, the $HOME/bin directory may not be in the search PATH. If you are unable to add this directory your search path, a workaround is to capture the return value from the download() or download_and_install() method (see the docstrings for those methods for more information on the return values) and pass the path to the downloaded webdriver binary as a parameter to the constructor for the Selenium WebDriver instance. See the documentation for the executable_path parameter for the relevant WebDriver class for more information.

###Installation This module is available on the Python Package Index (PyPI) and can be installed as follows:

$ pip3 install d-utils

###Classes The following classes are available:

  • ChromeDriverDownloader for downloading and installing chromedriver (for Google Chrome).
  • GeckoDriverDownloader for downloading and installing geckodriver (for Mozilla Firefox).
  • OperaChromiumDriverDownloader for downloading and installing operadriver (for Chromium based Opera browsers). ###Example module usage ####Supported Modules:
  • platform_driver("Path")

use the path whether it exists or not /home/USER/bin/chromedriver

driver = platform_driver("/home/USER/bin/chromedriver")
driver.get(url)
  • cicle_browser("BrowserName")
driver = cicle_browser("Firefox")
driver.get(url)
  • switch_to("BrowserName")
driver = switch_to("Firefox")
driver.get(url)

Metadata

Release files for d-utils 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for d-utils 0.0.9
File Size Uploaded Provenance Actions
d-utils-0.0.9.tar.gz 15.3 kB Without provenance Details for d-utils-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for d-utils 0.0.9
File Interpreter ABI Platform Actions
d_utils-0.0.9-py3-none-any.whl Python 3 none any Details for d_utils-0.0.9-py3-none-any.whl

Total release size: 30.4 kB

Release files / d-utils-0.0.9.tar.gz

Download URL d-utils-0.0.9.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4c252e6ce81a2be404fbb8e98e60cf282d764e2169c366845f0288b2eeba62e0
BLAKE2b-256 checksum
How to use checksums
990dadfe250f861c2c985ac1e29c00eaac7e4259921dba9e70f455bf47ff4878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2

Release files / d_utils-0.0.9-py3-none-any.whl

Download URL d_utils-0.0.9-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbd0c311da93003c4eaac3045ba2e373b9e779564ebe3867542ab1e34aa46c14
BLAKE2b-256 checksum
How to use checksums
4289a0825558ded7b31c689ce1a2723b97ba3c8a0b5df7058ea88a30a24fa0ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2

Security for d-utils 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page