Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "start_urls": [
- "https://www.perfumespremium.es/belleza-premium/fragancias",
- "https://www.perfumespremium.es/belleza-premium/facial",
- "https://www.perfumespremium.es/belleza-premium/cabello",
- "https://www.perfumespremium.es/belleza-premium/corporal",
- "https://www.perfumespremium.es/belleza-premium/maquillaje",
- "https://www.perfumespremium.es/belleza-premium/sun-and-tanning",
- "https://www.perfumespremium.es/belleza-premium/hombre",
- "https://www.perfumespremium.es/belleza-consumo/fragancias",
- "https://www.perfumespremium.es/belleza-consumo/facial",
- "https://www.perfumespremium.es/belleza-consumo/cabello",
- "https://www.perfumespremium.es/belleza-consumo/corporal",
- "https://www.perfumespremium.es/belleza-consumo/maquillaje",
- "https://www.perfumespremium.es/belleza-consumo/sol-y-bronceado",
- "https://www.perfumespremium.es/belleza-consumo/hombre",
- "https://www.perfumespremium.es/belleza-consumo/hogar",
- "https://www.perfumespremium.es/accesorios/gafas-de-sol",
- "https://www.perfumespremium.es/accesorios/cabello",
- "https://www.perfumespremium.es/accesorios/hogar",
- "https://www.perfumespremium.es/promos/perfumes",
- "https://www.perfumespremium.es/promos/cabello",
- "https://www.perfumespremium.es/promos/cuidados-faciales-y-corporales",
- "https://www.perfumespremium.es/promos/maquillaje",
- "https://www.perfumespremium.es/promos/hogar",
- "https://www.perfumespremium.es/ideas-par-regalar/ideas-regalo-para-ella",
- "https://www.perfumespremium.es/ideas-par-regalar/ideas-regalo-para-el",
- "https://www.perfumespremium.es/ideas-par-regalar/ideas-regalo-para-bebes-y-ni-os"
- ],
- "fields": {
- "name": "//meta[@property='og:title']/@content",
- "price": "//div[@class='product-info-price']//span[contains(@id,'product-price')]//span[@class='price']/text()",
- "price_old": "//div[@class='product-info-price']//span[@class='old-price']//span[@class='price']/text()",
- "reference": "",
- "image": "//meta[@property='og:image']/@content",
- "description": "//div[@id='description']//div[@class='value']",
- "brand": "",
- "brand_text": "//table[@id='product-attribute-specs-table']//td[@data-th='marca']/text()",
- "categories": "//div[@class='product-sub-infomation--category']/div[@class='value']/a/text()",
- "availability": "//div[contains(@class,'stock')]/span/text()",
- "rating_average": "",
- "rating_count": "",
- "barcode": "//table[@id='product-attribute-specs-table']//td[@data-th='Ean']/text()",
- "stock": ""
- },
- "links": {
- "detail": "//a[@class='product-item-link']",
- "next_page": "(//a[contains(@class,'next')])[last()]"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment