Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "start_urls": ["https://supermercado.eroski.es/es/supermercado/2060211-bebidas-y-licores/2060233-cervezas/"],
- "fields": {
- "name": "//h1/text()",
- "price": "//span[@class='price-now']//span[@itemprop='price']/text()",
- "price_old": "//div[@itemprop='offerDetails']/span[@class='price-before']/span[@itemprop='price']/text()",
- "reference": "",
- "image": "//img[@itemprop='image']//@src",
- "description": "//meta[@name='description']/@content",
- "brand": "",
- "brand_text": "",
- "categories": "",
- "availability": "",
- "rating_average": "//div[@id='ratingsZone']/div/div[@class='ratingSubtitle']/text()",
- "rating_count": "//div[@id='ratingsZone']//div[@class='ratingTitle']/span/text()",
- "barcode": "",
- "stock": ""
- },
- "links": {
- "detail": "//h2[@class='product-title']/a",
- "next_page": ""
- },
- "splash": {
- "spider": "positioning_spider",
- "mode": "infinite_scroll",
- "args": {
- "page_count": 17,
- "timeout": 60
- }
- },
- "list": {
- "product": "//div[contains(@class, 'product-item-')]",
- "page": ""
- }
- }
Add Comment
Please, Sign In to add comment