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.5.tar.gz
(15.1 kB
view hashes)
Built Distribution
scrapista-0.0.5-py3-none-any.whl
(18.0 kB
view hashes)
Close
Hashes for scrapista-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 544d3eb75edc99f113972bc6ce5a2bd6efd713e34e00d405fc68e9f51b0f01be |
|
MD5 | bce9adaff68209e3f320ab905ded15aa |
|
BLAKE2b-256 | 3865e0cba155bbd30250d1d5eee6439f3fc2385d00846a714f4af09b6233c491 |