Scrape most popular websites easily
Project description
Scrapista
Scrapista helps with scraping datasets from some of the most popular websites such as Wikipedia, Amazon, etc.
Installation
$ python -m pip install scrapista
Getting started to use the Amazon scraper:
from scrapista import AmazonScraper
# sample headers
headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36"}
base_url = "https://www.amazon.de"
scraper = AmazonScraper(headers,base_url)
data_list = scraper.scrape_keywords(["pencil","couch"])
print(len(data_list)) # 120
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
scrapista-0.0.4.tar.gz
(15.1 kB
view hashes)
Built Distribution
scrapista-0.0.4-py3-none-any.whl
(18.0 kB
view hashes)
Close
Hashes for scrapista-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047d81c0cc2699c10e188ca659b0a9aabe6714314b59063e5f3a1a8089aa3bf0 |
|
MD5 | 5435a70ae300c27979217b36028614a7 |
|
BLAKE2b-256 | 2b2d911cb30ae1f31290d04c184638d02758ecd4cf8da0502d23cd61a34ae8ef |