Skip to main content

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)

Uploaded Source

Built Distribution

scrapista-0.0.5-py3-none-any.whl (18.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page