Skip to main content

generic-crawler

This project contains a Python script for a web scraper that extracts tables, images, and text from a given website.

Requirements

  • Python 3.7 or later
  • Selenium
  • Beautiful Soup
  • Pandas
  • tqdm
  • Requests

Installation

pip

pip install WebScraper

github

  1. Clone this repository:

git clone https://gitlab.kaisens.fr/kaisensdata/apps/4inshield/drivers/generic-crawler/-/tree/asaid

  1. Install the required Python packages:

pip install -r requirements.txt

Usage

  1. Download the appropriate chromedriver for your system and add it to your system's PATH or specify the path when initializing the WebScraper class.

  2. Use the following example code to run the scraper:

from scraper import WebScraper

chrome_driver_path = "<path_to_your_chromedriver>"
url = "https://example.com"
scraper = WebScraper(chrome_driver_path)
scraper.process_website(url)

Metadata

Release files for SiteCrawler 0.1

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

Source distribution (sdist)

Source distribution for SiteCrawler 0.1
File Size Uploaded Provenance Actions
SiteCrawler-0.1.tar.gz 4.1 kB Without provenance Details for SiteCrawler-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for SiteCrawler 0.1
File Interpreter ABI Platform Actions
SiteCrawler-0.1-py3-none-any.whl Python 3 none any Details for SiteCrawler-0.1-py3-none-any.whl

Total release size: 8.5 kB

Release files / SiteCrawler-0.1.tar.gz

Download URL SiteCrawler-0.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
192308fc551284f4109dbf82153a2832d4049d76e0fa3625110e863098826aa5
BLAKE2b-256 checksum
How to use checksums
725d4483abf6ce8e6a75c7f9004ab17ced9c7313aea28d5af2f02f64585f68db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / SiteCrawler-0.1-py3-none-any.whl

Download URL SiteCrawler-0.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c673abffdcaf669d8eec07b42c0a2db61e02d43253bcc1f73ce5251a378f16d
BLAKE2b-256 checksum
How to use checksums
f31a5983b4ad59d97d9eadb222184ef1b1ae664053c76920d8523eef30f7155d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for SiteCrawler 0.1

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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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