SHOW:
|
|
- or go back to the newest paste.
1 | { | |
2 | "start_urls": [ | |
3 | "https://tienda.mercadona.es/api/v1_1/categories/164/?lang=es&wh=", | |
4 | "https://tienda.mercadona.es/api/v1_1/categories/166/?lang=es&wh=", | |
5 | "https://tienda.mercadona.es/api/v1_1/categories/135/?lang=es&wh=", | |
6 | "https://tienda.mercadona.es/api/v1_1/categories/133/?lang=es&wh=", | |
7 | "https://tienda.mercadona.es/api/v1_1/categories/132/?lang=es&wh=", | |
8 | "https://tienda.mercadona.es/api/v1_1/categories/201/?lang=es&wh=", | |
9 | "https://tienda.mercadona.es/api/v1_1/categories/199/?lang=es&wh=", | |
10 | "https://tienda.mercadona.es/api/v1_1/categories/203/?lang=es&wh=", | |
11 | "https://tienda.mercadona.es/api/v1_1/categories/202/?lang=es&wh=", | |
12 | "https://tienda.mercadona.es/api/v1_1/categories/205/?lang=es&wh=", | |
13 | "https://tienda.mercadona.es/api/v1_1/categories/192/?lang=es&wh=", | |
14 | "https://tienda.mercadona.es/api/v1_1/categories/189/?lang=es&wh=", | |
15 | "https://tienda.mercadona.es/api/v1_1/categories/185/?lang=es&wh=", | |
16 | "https://tienda.mercadona.es/api/v1_1/categories/191/?lang=es&wh=", | |
17 | "https://tienda.mercadona.es/api/v1_1/categories/188/?lang=es&wh=", | |
18 | "https://tienda.mercadona.es/api/v1_1/categories/187/?lang=es&wh=", | |
19 | "https://tienda.mercadona.es/api/v1_1/categories/186/?lang=es&wh=", | |
20 | "https://tienda.mercadona.es/api/v1_1/categories/190/?lang=es&wh=", | |
21 | "https://tienda.mercadona.es/api/v1_1/categories/194/?lang=es&wh=", | |
22 | "https://tienda.mercadona.es/api/v1_1/categories/782/?lang=es&wh=", | |
23 | "https://tienda.mercadona.es/api/v1_1/categories/196/?lang=es&wh=", | |
24 | "https://tienda.mercadona.es/api/v1_1/categories/198/?lang=es&wh=", | |
25 | "https://tienda.mercadona.es/api/v1_1/categories/213/?lang=es&wh=", | |
26 | "https://tienda.mercadona.es/api/v1_1/categories/214/?lang=es&wh=", | |
27 | "https://tienda.mercadona.es/api/v1_1/categories/216/?lang=es&wh=", | |
28 | "https://tienda.mercadona.es/api/v1_1/categories/219/?lang=es&wh=", | |
29 | "https://tienda.mercadona.es/api/v1_1/categories/218/?lang=es&wh=", | |
30 | "https://tienda.mercadona.es/api/v1_1/categories/217/?lang=es&wh=" | |
31 | ], | |
32 | "fields": { | |
33 | "name": "display_name", | |
34 | "price": "price_instructions.unit_price", | |
35 | "brand_text": "brand", | |
36 | "image": "photos[0].regular", | |
37 | "description": "details.description", | |
38 | "categories": "categories[*].name", | |
39 | "barcode": "ean", | |
40 | "url": "share_url" | |
41 | }, | |
42 | "api_crawl": { | |
43 | "crawl_finisher": { | |
44 | "func_name": "field_exists", | |
45 | "func_args": "is_extended" | |
46 | }, | |
47 | "get_next_url": { | |
48 | "func_name": "product_url_composer_using_id", | |
49 | "func_args": { | |
50 | "id_jpath": "categories[*].products[*].id", | |
51 | "product_api_url": "https://tienda.mercadona.es/api/v1_1/products/<id>/?lang=es&wh=" | |
52 | } | |
53 | } | |
54 | }, | |
55 | "links":{ | |
56 | "detail": "", | |
57 | "next_page": "" | |
58 | }, | |
59 | "list": { | |
60 | "product": "$.categories[*].products[*]", | |
61 | "page": "", | |
62 | "default_page": 1 | |
63 | }, | |
64 | "parser_modules": ["single_item_jpath"] | |
65 | } |