/zalora-scraper

A scraper for Zalora written in Python

Primary LanguagePythonMIT LicenseMIT

Zalora Scraper

A scraper for Zalora written in Python

Docker Usage:

First, build the Docker image:

docker build -t zalorascraper .

Then, run it (making sure to mount your current directory to /results):

docker run -v /results:$(pwd) zalorascraper:latest 

Python Usage:

from zalora_scraper import ZaloraScraper

scraper = ZaloraScraper()
scraper.scrape(
    gender="women",
    product="shoes",
    brand="aldo",
    occassion="Casual"  # note: occassion is case-sensitive
)

Screenshots:

Run on Docker:

Run on local Python:

JSON results: