Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "start_urls": [
- "https://tienda.mercadona.es/api/v1_1/categories/164/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/166/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/135/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/133/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/132/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/201/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/199/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/203/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/202/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/205/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/192/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/189/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/185/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/191/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/188/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/187/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/186/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/190/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/194/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/782/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/196/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/198/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/213/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/214/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/216/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/219/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/218/?lang=es&wh=",
- "https://tienda.mercadona.es/api/v1_1/categories/217/?lang=es&wh="
- ],
- "fields": {
- "name": "display_name",
- "price": "price_instructions.unit_price",
- "brand_text": "brand",
- "image": "photos[0].regular",
- "description": "details.description",
- "categories": "categories[*].name",
- "barcode": "ean",
- "url": "share_url"
- },
- "api_crawl": {
- "crawl_finisher": {
- "func_name": "field_exists",
- "func_args": "is_extended"
- },
- "get_next_url": {
- "func_name": "product_url_composer_using_id",
- "func_args": {
- "id_jpath": "categories[*].products[*].id",
- "product_api_url": "https://tienda.mercadona.es/api/v1_1/products/<id>/?lang=es&wh="
- }
- }
- },
- "links":{
- "detail": "",
- "next_page": ""
- },
- "list": {
- "product": "$.categories[*].products[*]",
- "page": "",
- "default_page": 1
- },
- "parser_modules": ["single_item_jpath"]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement