Web scraper, but made easy
The easiest way to scrape the Internet.
Remember to set the variables provided in the .env.example to make it work.
Functionality
Scrape the Internet to get the information or perform the actions you need. By now we only have a ChromeScraper class to scrape using Google Chrome.
Usage
Use the driver like this:
- Create an instance, go to a website and wait until loaded, without GUI:
from web_scraper_easy import ChromeScraper
from web_scraper_easy.chrome.dataclasses.options_argument import StartMaximizedChromeOptionsArgument
# Initialize it, full screen but no GUI
chrome = ChromeScraper.init(
do_use_gui = False,
additional_options = [
StartMaximizedChromeOptionsArgument
]
)
chrome.go_to_web_and_wait_until_loaded('https://webscraper.io/test-sites/e-commerce/allinone/product/146')
# Get the card to interact with it
card_thumbnail = chrome.find_element_by_class('div', 'card thumbnail')
Check the tests files to see more examples.
Metadata
Release files for web-scraper-easy 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| web_scraper_easy-0.0.4.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| web_scraper_easy-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.3 kB
Release files / web_scraper_easy-0.0.4.tar.gz
| Download URL | web_scraper_easy-0.0.4.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
790f1c1609d4b7e88d0cafdae37df9a17aa60bb5a39679289ba7d78cb403e2a5
|
|
BLAKE2b-256 checksum How to use checksums |
864f6912941ac18b83c521a866e86f7cdd5552da278c69e87ee2d1ced9dd313b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|
Release files / web_scraper_easy-0.0.4-py3-none-any.whl
| Download URL | web_scraper_easy-0.0.4-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b0d5d226a47e0edc301ab067005dda38991763c7900dd2cab6fa50a9a14da49
|
|
BLAKE2b-256 checksum How to use checksums |
b78a6d24bf165f17f2a605bd5b414420f536a7b2b964b56d73f8bea737b44093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|