Script that scraps given urls for price, description, images and more
var trendyolDataScraper = require("trendyol-scraper")
trendyolDataScraper.getData("https://www.trendyol.com/pull-bear/erkek-siyah-grafiti-desenli-viskoz-gomlek-05474550-p-40932361").then((data) => console.log(data))
{
"type": "Product",
"color": "Siyah",
"url": "https://www.trendyol.com/pull-bear/erkek-siyah-grafiti-desenli-viskoz-gomlek-05474550-p-40932361",
"name": "Erkek Siyah Grafiti Desenli Viskoz Gömlek 05474550",
"image": [
"https://cdn.dsmcdn.com/ty6/product/media/images/20200704/17/3822238/75894513/1/1_org_zoom.jpg",
"https://cdn.dsmcdn.com/ty6/product/media/images/20200704/17/3822238/75894513/2/2_org_zoom.jpg",
"https://cdn.dsmcdn.com/ty6/product/media/images/20200704/17/3822238/75894513/3/3_org_zoom.jpg",
"https://cdn.dsmcdn.com/ty5/product/media/images/20200704/17/3822238/75894513/4/4_org_zoom.jpg",
"https://cdn.dsmcdn.com/ty6/product/media/images/20200704/17/3822238/75894513/5/5_org_zoom.jpg",
"https://cdn.dsmcdn.com/ty6/product/media/images/20200704/17/3822238/75894513/6/6_org_zoom.jpg",
"https://cdn.dsmcdn.com/ty5/product/media/images/20200704/17/3822238/75894513/7/7_org_zoom.jpg"
],
"description": "Trendyol.com sayesinde Pull & Bear ürününe çok özel indirimlerle sahip olabilecek ve alışveriş alışkanlıklarınızı değiştireceksiniz.",
"brand": {
"type": "Thing",
"name": "Pull & Bear"
},
"offers": {
"type": "AggregateOffer",
"lowPrice": "119.95",
"priceCurrency": "TRY",
"offerCount": "5",
"offers": [
{
"type": "Offer",
"seller": {
"type": "Organization",
"name": "Pull&Bear"
},
"price": "119.95",
"priceCurrency": "TRY",
"itemCondition": "NewCondition",
"availability": "InStock",
"itemOffered": {
"type": "Product",
"sku": "72483079"
}
},
{
"type": "Offer",
"seller": {
"type": "Organization",
"name": "Pull&Bear"
},
"price": "119.95",
"priceCurrency": "TRY",
"itemCondition": "NewCondition",
"availability": "InStock",
"itemOffered": {
"type": "Product",
"sku": "72483081"
}
},
{
"type": "Offer",
"seller": {
"type": "Organization",
"name": "Pull&Bear"
},
"price": "119.95",
"priceCurrency": "TRY",
"itemCondition": "NewCondition",
"availability": "InStock",
"itemOffered": {
"type": "Product",
"sku": "72483078"
}
},
{
"type": "Offer",
"seller": {
"type": "Organization",
"name": "Pull&Bear"
},
"price": "119.95",
"priceCurrency": "TRY",
"itemCondition": "NewCondition",
"availability": "InStock",
"itemOffered": {
"type": "Product",
"sku": "72483080"
}
},
{
"type": "Offer",
"seller": {
"type": "Organization",
"name": "Pull&Bear"
},
"price": "119.95",
"priceCurrency": "TRY",
"itemCondition": "NewCondition",
"availability": "InStock",
"itemOffered": {
"type": "Product",
"sku": "72483077"
}
}
]
}
}
🏠 Homepage
npm install
npm run start
👤 Bartu OZEL
- Website: brtzl.tech
- Twitter: @mr_brtzl
- Github: @BRTZL
- LinkedIn: @brtzl
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2020 Bartu OZEL.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator