Skip to main content

A web scraping tool using Selenium for scraping connections, profiles, posts, chats and applications.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

LS5-0.1.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

LS5-0.1.3-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file LS5-0.1.3.tar.gz.

File metadata

  • Download URL: LS5-0.1.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for LS5-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9af47eb287b3956e4cbe3362060c68b032d1a34a11f94f9ab27aabe358fec1fb
MD5 2ca07e0dc74d8a1ebd3a613d8b0fc368
BLAKE2b-256 27cfb3d0c3efc0ac777e3e9e830c5fe1f9b3340922dd592b8958d05746e80c5a

See more details on using hashes here.

File details

Details for the file LS5-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: LS5-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for LS5-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eeebf92fcefd8ea8e0fd15208c24ff6d1e19ced9c3f36d26ccdb412ff0a19e11
MD5 4b9d90cf21bc2f0b73981db20a617bcf
BLAKE2b-256 429c764d00475d85c9bb54bb1d3ac81b757d2c88f9defd21b3b3586cff2f266d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page