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
-
Install the package from PyPI:
pip install ls5
-
Make sure you have
Google ChromeandChromedriverinstalled 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f120215c60726e350d96e52b3d1319b057621c9ce22eadaf55f3e8009f520809
|
|
| MD5 |
cb05f302901cb961454f8932366d34e5
|
|
| BLAKE2b-256 |
54089af8aa6ecbc8a43d7e5493b2736953024269c98f6cb560735ffb27c5b21b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b014483f802956015bd30e6bd5fcbbce6094eec2f5c5c4e4ca1ddf09b7073631
|
|
| MD5 |
ead13d94731877498b8cca1f9bb72b3a
|
|
| BLAKE2b-256 |
cb5d56e65e4eeadf4bc059584649342527f95881e25385c6039a940ccb1b7a71
|