Skip to content

Decodo/zalando_python_scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Zalando Scraper

Scrape Zalando utilising Decodo'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 a 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/Decodo/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, Category, Product, and image URL data directly from the HTML of the Zalando website and saves it to a JSON file.