Super Scraper
Scraping couldn't get much easier.
Super Scraper is built with ease in mind - for those hard to scrape places. It drives with Selenium and parses with BeautifulSoup4. I've provided some convenience methods to make common actions even easier for you.
Example
from superscraper import SuperScraper, ScraperOptions, Browser, By
options = ScraperOptions()
options.show_process = True
options.incognito = True
scraper = SuperScraper(
browser=Browser.CHROME,
options=options)
scraper.search('https://www.google.com')
scraper.fill_in(By.NAME, 'q', 'hello world')
scraper.click(By.NAME, 'btnK')
search_results = scraper.driver.find_elements(By.CLASS_NAME, 'g')
for result in search_results[:3]:
title = scraper.attempt(result.find_element, By.TAG_NAME, 'h3')
if title:
print(title.text)
a = result.find_element(By.TAG_NAME, 'a')
scraper.open_new_tab(By.LINK_TEXT, a.text)
scraper.close_current_tab(switch_to_tab=-1)
Metadata
Release files for superscraper 0.3.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| superscraper-0.3.11.tar.gz | 3.6 kB | Without provenance | Details for superscraper-0.3.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superscraper-0.3.11-py3-none-any.whl | Python 3 | none | any | Details for superscraper-0.3.11-py3-none-any.whl |
Total release size: 8.0 kB
Release files / superscraper-0.3.11.tar.gz
| Download URL | superscraper-0.3.11.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40708d8d94489bd65e56724f3b0b40b6a51ad8ee00822f027a61268a796ec8a7
|
|
BLAKE2b-256 checksum How to use checksums |
1c0b42facde95d097e02881911fddf8de360c3d62760c53ffc421f79cce892e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.1 Windows/10
|
Release files / superscraper-0.3.11-py3-none-any.whl
| Download URL | superscraper-0.3.11-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88e5220ba060f5350f1d2842a58aef10db28c0d14712cfa4b406f0081b2f3040
|
|
BLAKE2b-256 checksum How to use checksums |
43e7eff22d722d1f9221d9dc950d3c74e48daaf92d60de05f524538210d6a98c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.1 Windows/10
|
Security for superscraper 0.3.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.