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

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.0.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.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: LS5-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f120215c60726e350d96e52b3d1319b057621c9ce22eadaf55f3e8009f520809
MD5 cb05f302901cb961454f8932366d34e5
BLAKE2b-256 54089af8aa6ecbc8a43d7e5493b2736953024269c98f6cb560735ffb27c5b21b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: LS5-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b014483f802956015bd30e6bd5fcbbce6094eec2f5c5c4e4ca1ddf09b7073631
MD5 ead13d94731877498b8cca1f9bb72b3a
BLAKE2b-256 cb5d56e65e4eeadf4bc059584649342527f95881e25385c6039a940ccb1b7a71

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