Skip to main content

ls5: A Simple Web Scraper using Selenium that takes external args

ls5 is a command-line tool built with Selenium to scrape all links from a given webpage. You provide the URL as an argument, and the tool will fetch and display all the links present on that page. It runs headlessly (no GUI needed), making it efficient for automation.

Features

  • Scrapes all links (<a> tags) from the provided webpage URL.
  • Works in headless mode to avoid opening the browser window.
  • Simple to use with just a single command and URL input.

Requirements

  • Python 3.6 or higher
  • Selenium 4.10.0
  • Webdriver Manager 3.8.6
  • Google Chrome and Chromedriver installed version ChromeDriver 126.0.6478.126 (d36ace6122e0a59570e258d82441395206d60e1c-refs/branch-heads/6478@{#1591})

Installation

  1. Install the package from PyPI:

    pip install ls5
    
  2. Make sure you have Google Chrome and Chromedriver installed and accessible in your environment, at the location if the path in your script.

Usage

To scrape links from a webpage, use the following command:

or

ls5 --url

Metadata

Release files for LS5 0.1.3

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

Source distribution (sdist)

Source distribution for LS5 0.1.3
File Size Uploaded Provenance Actions
LS5-0.1.3.tar.gz 2.6 kB Without provenance Details for LS5-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 5.2 kB

Release files / LS5-0.1.3.tar.gz

Download URL LS5-0.1.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9af47eb287b3956e4cbe3362060c68b032d1a34a11f94f9ab27aabe358fec1fb
BLAKE2b-256 checksum
How to use checksums
27cfb3d0c3efc0ac777e3e9e830c5fe1f9b3340922dd592b8958d05746e80c5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / LS5-0.1.3-py3-none-any.whl

Download URL LS5-0.1.3-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eeebf92fcefd8ea8e0fd15208c24ff6d1e19ced9c3f36d26ccdb412ff0a19e11
BLAKE2b-256 checksum
How to use checksums
429c764d00475d85c9bb54bb1d3ac81b757d2c88f9defd21b3b3586cff2f266d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Security for LS5 0.1.3

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