sarafg11

Untitled

Jan 24th, 2020
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. {
  2. "start_urls": [
  3. "https://www.deliberry.com/caprabo",
  4. "https://www.deliberry.com/mercadona",
  5. "https://www.deliberry.com/casaametller",
  6. "https://www.deliberry.com/peixosfrederic",
  7. "https://www.deliberry.com/casaplanes",
  8. "https://www.deliberry.com/veritas",
  9. "https://www.deliberry.com/sorli",
  10. "https://www.deliberry.com/nestle",
  11. "https://www.deliberry.com/plusfresc",
  12. "https://www.deliberry.com/dia",
  13. "https://www.deliberry.com/lasirena",
  14. "https://www.deliberry.com/lagarriga",
  15. "https://www.deliberry.com/nespresso",
  16. "https://www.deliberry.com/escofetoliver",
  17. "https://www.deliberry.com/deliberrybodega",
  18. "https://www.deliberry.com/santagloria",
  19. "https://www.deliberry.com/farga",
  20. "https://www.deliberry.com/enriquetomas",
  21. "https://www.deliberry.com/sushitake",
  22. "https://www.deliberry.com/umsaborsasia",
  23. "https://www.deliberry.com/clarel",
  24. "https://www.deliberry.com/tento",
  25. "https://www.deliberry.com/mercadonamadrid",
  26. "https://www.deliberry.com/supercor",
  27. "https://www.deliberry.com/diamadrid",
  28. "https://www.deliberry.com/lasirenamadrid",
  29. "https://www.deliberry.com/clarelmadrid",
  30. "https://www.deliberry.com/riopinoso",
  31. "https://www.deliberry.com/esderaiz",
  32. "https://www.deliberry.com/mundifruit",
  33. "https://www.deliberry.com/laleonera",
  34. "https://www.deliberry.com/victormartin",
  35. "https://www.deliberry.com/razanostra",
  36. "https://www.deliberry.com/veritasmadrid",
  37. "https://www.deliberry.com/tentomadrid",
  38. "https://www.deliberry.com/nespressomadrid",
  39. "https://www.deliberry.com/bonfromage",
  40. "https://www.deliberry.com/enriquetomasmadrid"
  41. ],
  42. "fields": {
  43. "name": "//span[@class='item-name']/text()",
  44. "price": "//span[@class='item-price']/span[@class='price']/text() | //span[@class='item-price']/mark/text()",
  45. "price_old": "//span[@class='item-price']/s[@class='text-danger']/text()",
  46. "reference": "",
  47. "product_id": "",
  48. "image": "//div[@class='media']/a/img/@data-src",
  49. "description": "",
  50. "brand": "",
  51. "brand_text": "//span[@class='item-manufacturer']/text()",
  52. "categories": "//h1[@class='category-section__title mb-xl']/text()",
  53. "availability": "",
  54. "rating_average": "",
  55. "rating_count": "",
  56. "barcode": "",
  57. "stock": "",
  58. "url": "//div[@class='media']/a/@href"
  59. },
  60. "links": {
  61. "detail": "//div[@class='row']/ol/parent::div/section/h1[@class='category-section__title']",
  62. "next_page": "//div[@class='row']/div/parent::div/section/h1[@class='category-section__title']"
  63. },
  64. "list": {
  65. "product": "//section[@class='category-section']/ul[not(contains(@class, 'items-list--one-row'))]/li[@class='item js-product-item show-product']",
  66. "page": ""
  67. },
  68. "parser_modules": [
  69. "multiple_response_xpath",
  70. "multiple_item_xpath"
  71. ]
  72. }
Advertisement
Add Comment
Please, Sign In to add comment