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="
- ],
- "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"
- },
- "positioning_crawl": false,
- "api_crawl": {
- "crawl_finisher": {
- "func_name": "field_doesnt_exist",
- "func_args": {
- "field_jpath": "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