Lazada Product Scraper
- sandboxcmd/lazada-scraper
- Modified
- Users 74
- Runs 630
- Created by
Deby C.
Lazada scraper to extract data from Lazada based on keywords and country. Scrape and download product information without using the Lazada API, including reviews, prices, descriptions. Download your data as HTML table, JSON, CSV, Excel, XML.
To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.
# Set API token
API_TOKEN=<YOUR_API_TOKEN>
# Prepare Actor input
cat > input.json <<'EOF'
{
"categoryUrls": [
{
"url": "https://www.lazada.co.id/gaun-wanita/?spm=a2o4j.home.categories.1.57997838Vw6eh0&up_id=2690052796&clickTrackInfo=378a8db0-4583-4567-ac9c-293c1b07eb2c__4962__2690052796__static__0.09986028971706916__158075__7253&from=hp_categories&item_id=2690052796&version=v2"
}
],
"proxyConfiguration": {
"useApifyProxy": true
}
}
EOF
# Run the Actor
curl "https://api.apify.com/v2/acts/sandboxcmd~lazada-scraper/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'