Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "start_urls": [
- "https://rest-api.cocunat.com/v2/products/"
- ],
- "fields": {
- "name": "translations[2].name",
- "price": "prices[0].price",
- "url": "translations[2].slug",
- "image": "image",
- "description": "translations[2].summary",
- "id": "id"
- },
- "api_crawl": {
- "crawl_finisher": {
- "func_name": "always_stop",
- "func_args": ""
- },
- "get_next_url": {
- "func_name": "",
- "func_args": ""
- },
- "url_templates": {
- "url_detail": "https://cocunat.com/es-es/product/<relative_url>",
- "url_image": "https://static.cocun.at/photos/<relative_url>"
- }
- },
- "links": {
- "detail": "",
- "next_page": ""
- },
- "list": {
- "product": "$[*]"
- },
- "parser_modules": ["multiple_response_jpath", "multiple_item_jpath"]
- }
Add Comment
Please, Sign In to add comment