Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "start_urls": [
- "https://deliveroo.es/es/restaurants/madrid/trafalgar?sort=time&category=burgers"
- ],
- "fields": {
- "name": "//*[@class='menu-index-page__item-title']/text()",
- "price": "//*[@class='menu-index-page__item-price']/text() | //*[@class= 'menu-index-page__item-content']/span/span[1]/text()",
- "price_old": "",
- "reference": "",
- "product_id": "",
- "image": "",
- "description": "",
- "brand": "",
- "brand_text": "",
- "categories": "",
- "availability": "",
- "rating_average": "",
- "rating_count": "",
- "barcode": "",
- "stock": ""
- },
- "links": {
- "detail": "//a[contains(@class, 'HomeFeedUICard')]",
- "next_page": ""
- },
- "product_selector": "//li[@class='menu-index-page__item']",
- "parser_modules": ["multiple_response_xpath", "multiple_item_xpath"],
- "pipelines": ["UrlHashUrlAndNamePipeline"]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement