Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "start_urls": [
- "https://www.deliberry.com/caprabo",
- "https://www.deliberry.com/mercadona",
- "https://www.deliberry.com/casaametller",
- "https://www.deliberry.com/peixosfrederic",
- "https://www.deliberry.com/casaplanes",
- "https://www.deliberry.com/veritas",
- "https://www.deliberry.com/sorli",
- "https://www.deliberry.com/nestle",
- "https://www.deliberry.com/plusfresc",
- "https://www.deliberry.com/dia",
- "https://www.deliberry.com/lasirena",
- "https://www.deliberry.com/lagarriga",
- "https://www.deliberry.com/nespresso",
- "https://www.deliberry.com/escofetoliver",
- "https://www.deliberry.com/deliberrybodega",
- "https://www.deliberry.com/santagloria",
- "https://www.deliberry.com/farga",
- "https://www.deliberry.com/enriquetomas",
- "https://www.deliberry.com/sushitake",
- "https://www.deliberry.com/umsaborsasia",
- "https://www.deliberry.com/clarel",
- "https://www.deliberry.com/tento",
- "https://www.deliberry.com/mercadonamadrid",
- "https://www.deliberry.com/supercor",
- "https://www.deliberry.com/diamadrid",
- "https://www.deliberry.com/lasirenamadrid",
- "https://www.deliberry.com/clarelmadrid",
- "https://www.deliberry.com/riopinoso",
- "https://www.deliberry.com/esderaiz",
- "https://www.deliberry.com/mundifruit",
- "https://www.deliberry.com/laleonera",
- "https://www.deliberry.com/victormartin",
- "https://www.deliberry.com/razanostra",
- "https://www.deliberry.com/veritasmadrid",
- "https://www.deliberry.com/tentomadrid",
- "https://www.deliberry.com/nespressomadrid",
- "https://www.deliberry.com/bonfromage",
- "https://www.deliberry.com/enriquetomasmadrid"
- ],
- "fields": {
- "name": "//span[@class='item-name']/text()",
- "price": "//span[@class='item-price']/span[@class='price']/text() | //span[@class='item-price']/mark/text()",
- "price_old": "//span[@class='item-price']/s[@class='text-danger']/text()",
- "reference": "",
- "product_id": "",
- "image": "//div[@class='media']/a/img/@data-src",
- "description": "",
- "brand": "",
- "brand_text": "//span[@class='item-manufacturer']/text()",
- "categories": "//h1[@class='category-section__title mb-xl']/text()",
- "availability": "",
- "rating_average": "",
- "rating_count": "",
- "barcode": "",
- "stock": "",
- "url": "//div[@class='media']/a/@href"
- },
- "links": {
- "detail": "//div[@class='row']/ol/parent::div/section/h1[@class='category-section__title']",
- "next_page": "//div[@class='row']/div/parent::div/section/h1[@class='category-section__title']"
- },
- "list": {
- "product": "//section[@class='category-section']/ul[not(contains(@class, 'items-list--one-row'))]/li[@class='item js-product-item show-product']",
- "page": ""
- },
- "parser_modules": [
- "multiple_response_xpath",
- "multiple_item_xpath"
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment