A scraper for Zalora written in Python
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
from zalora_scraper import ZaloraScraper
scraper = ZaloraScraper()
scraper.scrape(
gender="women",
product="shoes",
brand="aldo",
occassion="Casual" # note: occassion is case-sensitive
)
Run on Docker:
Run on local Python:
JSON results: