Skip to content

Smartproxy/zalando_python_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Zalando Scraper

Scrape Zalando utilising Smartproxy's Web Scraping API

Dependencies

BeautifulSoup

Authentication

Once you have an active Web Scraping API subscription, you can try sending a request right from the dashboard Web Scraping API > API playground method tab simply by clicking on Send Request. You will also see an example of curl request generated on the right.

This Pyhton code example uses Base64 encoded user:pass authentication.

Parser type Example location Download
HTML to JSON zalando_html_parser.py curl https://raw.githubusercontent.com/Smartproxy/zalando_python_scaper/blob/main/zalando_html_parser.py > zalando_html_parser.py

HTML to JSON

This Python script extracts Brand Name, Model, Price, Discount data, Category, Product and Image URLs straight from the HTML of Zalando website and saves them to a JSON file.