Farfetch web scraper to crawl product information including price and sale price, color, and images.

- Modified
- Users21
- Runs267
Farfetch Scraper provide a way to crawl product details of site Farfetch.
ChangeLogs
21/1/2023
- added support of new product data format
- added currentFormatted field for price
- removed useless color variant in the output if the origin not format it as seperate variant option
Features
- Support fetch products of category;
- Support fetch product detail with prices,descriptions,images and sku info;
The price values are multiplied by 100 to avoiding floating point calculations.
Input Parameters
The input of this scraper shoule be JSON formated. Fields are:
Field | Type | Description |
---|---|---|
startUrls | Array | Start URLs of Farfetch site to start the scraper. Category page, product page urls are all supported. |
proxy | Object | Select proxies to be used by your crawler. |
maxConcurrency | Object | Actor running max concurrency, which helps you to not getting blocked. |
Supported URL types
- https://www.farfetch.com/shopping/women/dresses-1/items.aspx
- https://www.farfetch.com/shopping/women/isa-boulder-map-crochet-mesh-dress-item-17650965.aspx?storeid=12841
Data storage
Farfetch scraper stores the product data to default data set in JSON format.
{
"source": {
"id": 17053461,
"crawlUrl": "https://www.farfetch.com/shopping/women/giuseppe-zanotti-dimitra-item-17053461.aspx?storeid=11909",
"canonicalUrl": "https://www.farfetch.com/shopping/women/giuseppe-zanotti-dimitra-item-17053461.aspx",
"retailer": "FARFETCH",
"currency": "USD"
},
"brand": "Giuseppe Zanotti",
"title": "Dimitra textured mules",
"description": "Employing his signature use of Italian allure and contemporary glamour, Giuseppe Zanotti has designed footwear for over 25 years. Finished with a multicolour shearling exterior, these Dimitra textured mules are brilliantly bold.",
"categories": [
"Shoes",
"Mules"
],
"options": [
{
"type": "Size",
"values": [
{
"id": "19",
"name": "35"
},
{
"id": "21",
"name": "36"
},
{
"id": "23",
"name": "37"
},
{
"id": "25",
"name": "38"
},
{
"id": "27",
"name": "39"
},
{
"id": "29",
"name": "40"
},
{
"id": "31",
"name": "41"
},
{
"id": "33",
"name": "42"
}
]
}
],
"variants": [
{
"id": "",
"options": [
"19",
],
"price": {
"current": 495000,
"currentFormatted": "$4950",
"original": 825000,
"stockCount": 1,
"stockStatus": "InStock"
}
},
{
"id": "",
"options": [
"21",
],
"price": {
"current": 495000,
"currentFormatted": "$4950",
"original": 825000,
"stockCount": 3,
"stockStatus": "InStock"
}
},
{
"id": "",
"options": [
"23",
],
"price": {
"current": 495000,
"currentFormatted": "$4950",
"original": 825000,
"stockCount": 3,
"stockStatus": "InStock"
}
},
{
"id": "",
"options": [
"25",
],
"price": {
"current": 495000,
"currentFormatted": "$4950",
"original": 825000,
"stockCount": 5,
"stockStatus": "InStock"
}
},
{
"id": "",
"options": [
"27",
],
"price": {
"current": 495000,
"currentFormatted": "$4950",
"original": 825000,
"stockCount": 6,
"stockStatus": "InStock"
}
},
{
"id": "",
"options": [
"29",
],
"price": {
"current": 495000,
"currentFormatted": "$4950",
"original": 825000,
"stockCount": 3,
"stockStatus": "InStock"
}
},
{
"id": "",
"options": [
"31",
],
"price": {
"current": 495000,
"currentFormatted": "$4950",
"original": 825000,
"stockCount": 2,
"stockStatus": "InStock"
}
},
{
"id": "",
"options": [
"33",
],
"price": {
"current": 495000,
"currentFormatted": "$4950",
"original": 825000,
"stockCount": 1,
"stockStatus": "InStock"
}
}
],
"medias": [
{
"type": "Image",
"url": "https://cdn-images.farfetch-contents.com/17/05/34/61/17053461_34334698_480.jpg",
"alt": "Giuseppe Zanotti Dimitra",
"index": 1
},
{
"type": "Image",
"url": "https://cdn-images.farfetch-contents.com/17/05/34/61/17053461_34334696_480.jpg",
"alt": "Giuseppe Zanotti Dimitra",
"index": 2
},
{
"type": "Image",
"url": "https://cdn-images.farfetch-contents.com/17/05/34/61/17053461_34334697_480.jpg",
"alt": "Giuseppe Zanotti Dimitra",
"index": 3
},
{
"type": "Image",
"url": "https://cdn-images.farfetch-contents.com/17/05/34/61/17053461_34336058_480.jpg",
"alt": "Giuseppe Zanotti Dimitra",
"index": 4
},
{
"type": "Image",
"url": "https://cdn-images.farfetch-contents.com/17/05/34/61/17053461_34336057_480.jpg",
"alt": "Giuseppe Zanotti Dimitra",
"index": 5
}
],
"price": {
"current": 495000,
"currentFormatted": "$4950",
"original": 825000,
"stockStatus": "InStock"
}
}
Industries
See how Farfetch Scraper is used in industries around the world