SHOW:
|
|
- or go back to the newest paste.
| 1 | {
| |
| 2 | "start_urls": [ | |
| 3 | "https://www.condisline.com/Bebidas_Cervezas_c07_cat00270001_cat_es_ES.jsp", | |
| 4 | - | "https://www.condisline.com/productlistpaginator?&position=1&page=1&secId=c07&famId=cat00270001&_=1567528395971", |
| 4 | + | "https://www.condisline.com/Alimentacion_Patatas-fritas-y-snacks_c01_cat00050006_cat_es_ES.jsp" |
| 5 | - | "https://www.condisline.com/productlistpaginator?&position=1&page=2&secId=c07&famId=cat00270001&_=1567528395971", |
| 5 | + | |
| 6 | - | "https://www.condisline.com/productlistpaginator?&position=1&page=3&secId=c07&famId=cat00270001&_=1567528395971", |
| 6 | + | |
| 7 | - | "https://www.condisline.com/productlistpaginator?&position=1&page=4&secId=c07&famId=cat00270001&_=1567528395971" |
| 7 | + | |
| 8 | "price": "concat(substring-before(substring-after(//div[@class='product_data_container']//script[contains(.,'list') and not(contains(.,'sale'))]/text(),\"('\"),\"',\"),substring-after(substring-before(substring-after(//div[@class='product_data_container']//script[contains(.,'list') and contains(.,'sale')]/text(),\";\"),\"', 'sale\"),\"('\"))",
| |
| 9 | "price_old": "substring-before(substring-after(//div[@class='product_data_container']//script[contains(.,'list') and contains(.,'sale')]/text(),\"('\"),\"',\")",
| |
| 10 | "reference": "", | |
| 11 | "image": "//meta[@property='og:image']/@content", | |
| 12 | "description": "//div[@id='description']//text()", | |
| 13 | "brand": "", | |
| 14 | "brand_text": "//div[@class='product_data_container']/p[@class='brand_name']/text()", | |
| 15 | "categories": "//span[@class='breadcrumbs']/a[@class='breadcrumb_link']/text()", | |
| 16 | "availability": "", | |
| 17 | "rating_average": "", | |
| 18 | "rating_count": "", | |
| 19 | "barcode": "", | |
| 20 | "stock": "", | |
| 21 | "warehouse": "//span[@class='province']/span[@class='bold']/text()" | |
| 22 | }, | |
| 23 | "links": {
| |
| 24 | "detail": "//a[@class='article_name']", | |
| 25 | "next_page": "" | |
| 26 | }, | |
| 27 | "pipelines": [ | |
| 28 | "UrlHashCookiePipeline" | |
| 29 | ], | |
| 30 | "splash": {
| |
| 31 | "positioning_spider": {
| |
| 32 | "mode": "infinite_scroll", | |
| 33 | "request_type": "start_request", | |
| 34 | "args": {
| |
| 35 | "private_mode": false, | |
| 36 | "timeout": 60 | |
| 37 | } | |
| 38 | }, | |
| 39 | - | "page_count": 8, |
| 39 | + | "item_detail": {
|
| 40 | "mode": "infinite_scroll", | |
| 41 | "request_type": "start_request", | |
| 42 | "args": {
| |
| 43 | "private_mode": false, | |
| 44 | "timeout": 60 | |
| 45 | } | |
| 46 | } | |
| 47 | }, | |
| 48 | "list": {
| |
| 49 | "product": "//li[@class='article']", | |
| 50 | "page": "" | |
| 51 | } | |
| 52 | } |