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.1.tar.gz (2.7 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.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: LS5-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 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.1.tar.gz
Algorithm Hash digest
SHA256 bbb4fbbc8aaa18ee08784c25eaec55f88e4eac0c33fb501f9e64019509baf716
MD5 78bc95579e9531da3fe88347c6635cb8
BLAKE2b-256 ebb4edc800275fb7a8ca371338ff7cefd37d2ec90b33a3a08de8eae3274d6f3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: LS5-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a51539a19820032010b03e7159f50bb0e0fda5d2215da8c3868a19447e8c34a
MD5 89180dde208011edd6e8a85a5db61cb8
BLAKE2b-256 79c1f5ecba41af1e05171d2df1008b49a0e0e9412ac13f7f18a9731acb44eb24

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