{"id":429,"date":"2018-01-09T16:10:27","date_gmt":"2018-01-09T16:10:27","guid":{"rendered":"https:\/\/www.diggernaut.ru\/blog\/?p=429"},"modified":"2019-01-11T16:57:54","modified_gmt":"2019-01-11T16:57:54","slug":"besplatny-parser-tovarov-online-magazina-cabelas","status":"publish","type":"post","link":"https:\/\/www.diggernaut.ru\/blog\/besplatny-parser-tovarov-online-magazina-cabelas\/","title":{"rendered":"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u043f\u0430\u0440\u0441\u0435\u0440 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u043e\u043d\u043b\u0430\u0439\u043d \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430 Cabela&#8217;s"},"content":{"rendered":"<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0433\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u043e\u043d\u043b\u0430\u0439\u043d \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430 Cabela\u2019s \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u0434\u0435\u0441\u044f\u0442\u043a\u0430\u0445 \u0442\u044b\u0441\u044f\u0447 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0434\u043b\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043e\u0442\u0434\u044b\u0445\u0430, \u043e\u0445\u043e\u0442\u044b, \u0440\u044b\u0431\u0430\u043b\u043a\u0438 \u0438 \u0442\u0443\u0440\u0438\u0437\u043c\u0430. \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Cabela\u2019s \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0432\u0435\u0434\u0443\u0449\u0438\u0445 \u0430\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u0438\u0445 \u0440\u0435\u0442\u0435\u0439\u043b\u0435\u0440\u043e\u0432 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0437\u0430\u043d\u044f\u0442\u0438\u0439 \u0438 \u0441\u043f\u043e\u0440\u0442\u0430 \u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u043e\u0437\u0434\u0443\u0445\u0435. \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u0431\u044b\u043b\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u0432 1961 \u0433\u043e\u0434\u0443 \u0420\u0438\u0447\u0430\u0440\u0434\u043e\u043c \u041a\u0430\u0431\u0435\u043b\u0430 \u0432 \u0433\u043e\u0440\u043e\u0434\u0435 \u0421\u0438\u0434\u043d\u0435\u0439, \u0448\u0442\u0430\u0442 \u041d\u0435\u0431\u0440\u0430\u0441\u043a\u0430 \u0438 \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u043b\u0435\u043d\u0430\u043c\u0438 \u0441\u0435\u043c\u044c\u0438 \u041a\u0430\u0431\u0435\u043b\u0430.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u043e\u0432:<\/strong> 70000<br><strong>\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432:<\/strong> 70000<br><strong>\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c\u044b\u0439 \u043f\u043b\u0430\u043d \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438:<\/strong> Small<\/p>\n<p><strong>\u0412\u041d\u0418\u041c\u0410\u041d\u0418\u0415!<\/strong> \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u043e\u0432, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u0432\u0430\u0440\u0438\u0430\u0446\u0438\u044f\u0445, \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u0445 \u0438 \u0434\u0440. \u043c\u043e\u0433\u0443\u0442 \u043f\u0430\u0440\u0441\u0438\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c. \u0422\u0430\u043a\u0436\u0435 \u0447\u0430\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u0442\u043e\u0432\u0430\u0440\u0435 \u043c\u043e\u0436\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e XHR \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u0447\u0442\u043e \u0442\u0430\u043a\u0436\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043e\u0431\u0449\u0435\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/p>\n<h3>\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043f\u0430\u0440\u0441\u0435\u0440 \u0442\u043e\u0432\u0430\u0440\u043e\u0432<\/h3>\n<p>\u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u043e\u043d\u043b\u0430\u0439\u043d \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430 Cabela\u2019s \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u043c\u0435\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 Diggernaut.<\/p>\n<ol>\n<li>\u041f\u0440\u043e\u0439\u0434\u0438\u0442\u0435 \u043f\u043e \u044d\u0442\u043e\u0439 <a href=\"https:\/\/www.diggernaut.ru\/accounts\/signup\/\">\u0441\u0441\u044b\u043b\u043a\u0435 \u0434\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438<\/a> \u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u0435 <a href=\"https:\/\/www.diggernaut.ru\">Diggernaut<\/a><\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f email \u0430\u0434\u0440\u0435\u0441\u0430 <a href=\"https:\/\/www.diggernaut.ru\/accounts\/login\/\">\u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u0441\u0432\u043e\u044e \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c<\/a><\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u043b\u044e\u0431\u044b\u0439 \u0438\u043c\u0435\u043d\u0435\u043c \u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u043d\u0430\u0448\u0435\u0439 <a href=\"https:\/\/www.diggernaut.ru\/dev\/vebsayt-proekty-sozdanie-novogo-proekta.html\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/li>\n<li>\u0412\u043e\u0439\u0434\u0438\u0442\u0435 \u0432\u043e \u0432\u043d\u043e\u0432\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0432 \u043d\u0435\u043c \u0434\u0438\u0433\u0433\u0435\u0440 \u0441 \u043b\u044e\u0431\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u043d\u0430\u0448\u0435\u0439 <a href=\"https:\/\/www.diggernaut.ru\/dev\/vebsayt-proekty-sozdanie-diggera.html\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/li>\n<li>\u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0434\u0438\u0433\u0433\u0435\u0440\u0430 \u0438 \u0432\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0435\u0433\u043e \u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432\u0430\u043c\u0438 \u0434\u0438\u0433\u0433\u0435\u0440, \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u043d\u0430\u0448\u0435\u0439 <a href=\"https:\/\/www.diggernaut.ru\/dev\/vebsayt-proekty-redaktirovanie-diggera.html\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/li>\n<li>\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u0438\u0433\u0433\u0435\u0440\u0430 \u0441 Debug \u043d\u0430 Active, \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u043d\u0430\u0448\u0435\u0439 <a href=\"https:\/\/www.diggernaut.ru\/dev\/vebsayt-proekty-redaktirovanie-diggera.html\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/li>\n<li>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0432\u0430\u0448 \u0434\u0438\u0433\u0433\u0435\u0440 \u0438 \u0434\u043e\u0436\u0434\u0438\u0442\u0435\u0441\u044c \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b, \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u043d\u0430\u0448\u0435\u0439 <a href=\"https:\/\/www.diggernaut.ru\/dev\/vebsayt-proekty-zapusk-diggera.html\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/li>\n<li>\u0421\u043a\u0430\u0447\u0430\u0439\u0442\u0435 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043d\u0443\u0436\u043d\u043e\u043c \u0432\u0430\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0430\u043a, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u043d\u0430\u0448\u0435\u0439 <a href=\"https:\/\/www.diggernaut.ru\/dev\/vebsayt-proekty-dannye.html\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a><\/li>\n<\/ol>\n<p>\u0412 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0438 \u0437\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e.<\/p>\n<h3>\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u043f\u0430\u0440\u0441\u0435\u0440\u0430<\/h3>\n<pre class=\"language-yaml line-numbers\"><code class=\"language-yaml\">---\nconfig:\n    debug: 2\n    agent: Chrome\ndo:\n- walk:\n    to: http:\/\/www.cabelas.com\n    do:\n    - find: \n        path: div.shopDropdown>a\n        do: \n        - parse:\n            attr: href\n            filter: ^(.+\\\/\\_\\\/N\\-\\d+)\n        - space_dedupe\n        - trim\n        - if:\n            match: \\w+\n            do:\n            - normalize:\n                routine: url\n            - link_add:\n                pool: catalog\n- walk:\n    to: links\n    pool: catalog\n    do:\n    - sleep: 2\n    - variable_clear: good\n    - find:\n        path: div.leftnav_content\n        do:\n        - variable_set:\n            field: good\n            value: &quot;yes&quot;\n    - find:\n        path: div.leftnav_content a\n        do:\n        - parse:\n            attr: href\n            filter: ^(.+\\\/\\_\\\/N\\-\\d+)\n        - space_dedupe\n        - trim\n        - if:\n            match: \\w+\n            do:\n            - normalize:\n                routine: url\n            - link_add:\n                pool: catalog\n    - find:\n        path: a.entry:contains(&#039;Next&#039;)\n        do:\n        - parse:\n            attr: href\n        - space_dedupe\n        - trim\n        - if:\n            match: \\w+\n            do:\n            - normalize:\n                routine: url\n            - link_add:\n                pool: catalog\n    - find:\n        path: div.productContentBlock>a\n        do:\n        - variable_set:\n            field: good\n            value: &quot;yes&quot;\n        - parse:\n            attr: href\n        - space_dedupe\n        - trim\n        - if:\n            match: \\w+\n            do:\n            - normalize:\n                routine: url\n            - link_add:\n                pool: pages\n    - find:\n        path: html\n        do:\n        - variable_get: good\n        - if:\n            match: &quot;yes&quot;\n            else:\n            - nocontent_category\n- walk:\n    to: links\n    pool: pages\n    do:\n    - variable_clear: good\n    - sleep: 2\n    - find:\n        path: &#039;div#productDetailsTemplate&#039;\n        do:\n        - variable_set:\n            field: good\n            value: &quot;yes&quot;\n        - variable_clear: list\n        - variable_clear: desc\n        - variable_clear: pid\n        - variable_clear: cid\n        - object_new: product\n        - eval:\n            routine: js\n            body: &#039;(function (){var d = new Date(); return d.toISOString()})();&#039;\n        - object_field_set:\n            object: product\n            field: date\n        - static_get: url\n        - object_field_set:\n            object: product\n            field: url\n        - find:\n            path: span.itemNumber\n            do:\n            - node_remove: b\n            - parse\n            - space_dedupe\n            - trim\n            - variable_set: pid\n            - object_field_set:\n                object: product\n                field: sku\n        - find:\n            path: h1.label\n            do:\n            - parse\n            - space_dedupe\n            - trim\n            - object_field_set:\n                object: product\n                field: name\n        - register_set: Cabela&#039;s\n        - variable_set: brand\n        - find:\n            in: doc\n            path: script[type=&quot;application\/ld+json&quot;]\n            do:\n            - parse\n            - normalize:\n                routine: replace_substring\n                args:\n                - Luck\\s+&quot;E&quot;\\s+Strike: Luck E Strike\n                - \\&quot;@type\\&quot;\\:\\s*\\&quot;Product\\&quot;\\,\\s+\\&quot;name\\&quot;\\:.+: &#039;&#039;\n                - \\&quot;description\\&quot;\\:.+: &#039;&#039;\n                - \\n+: &#039;&#039;\n                - \\}\\,\\]: &#039;}]&#039;\n            - normalize:\n                routine: json2xml\n            - to_block\n            - find:\n                path: brand>name\n                do:\n                - parse\n                - space_dedupe\n                - trim\n                - variable_set: brand\n            - find:\n                path: offers:has(standardPrice:not(:contains(&quot;null&quot;)))\n                slice: 0\n                do:\n                - find:\n                    path: standardPrice\n                    do:\n                    - parse\n                    - object_field_set:\n                        object: product\n                        type: float\n                        field: price\n                - find:\n                    path: price\n                    do:\n                    - parse\n                    - object_field_set:\n                        object: product\n                        type: float\n                        field: price\n                - register_set: USD\n                - object_field_set:\n                    object: product\n                    field: currency\n        - variable_get: brand\n        - object_field_set:\n            object: product\n            field: brand\n        - find:\n            in: doc\n            path: meta[name=&quot;description&quot;]\n            do:\n            - parse:\n                attr: content\n            - space_dedupe\n            - trim\n            - variable_set: desc\n        - find:\n            path: div.pdp-desc-long\n            do:\n            - parse\n            - space_dedupe\n            - trim\n            - variable_set: desc\n        - find:\n            path: &#039;div#description&#039;\n            do:\n            - node_replace:\n                path: br\n                with: &quot;\\n&quot;\n            - split:\n                context: text\n                delimiter: \\n+\n            - find:\n                path: div.splitted\n                slice: 0\n                do:\n                - parse\n                - space_dedupe\n                - trim\n                - variable_set: desc\n        - variable_get: desc\n        - object_field_set:\n            object: product\n            field: description\n        - find:\n            path: select.js-dropdown:has(option:contains(&quot;Select COLOR&quot;))\n            do:\n            - find:\n                path: option\n                slice: 1:-1\n                do:\n                - parse\n                - space_dedupe\n                - trim\n                - if:\n                    match: \\w+\n                    do:\n                    - object_field_set:\n                        object: product\n                        joinby: &quot;|&quot;\n                        field: variations\n        - find:\n            path: script:contains(&#039;params_viewlarger.push(&quot;asset&quot;,&#039;)\n            do:\n            - parse:\n                filter: \\s+params_viewlarger\\.push\\(\\&quot;asset\\&quot;\\,\\s+&quot;([^&quot;]+)&quot;\\)\\;\n            - to_block\n            - split:\n                context: text\n                delimiter: \\s*[\\;\\,]\n            - find:\n                path: div.splitted\n                do:\n                - parse:\n                    filter: ^([^\\?]+)\n                - space_dedupe\n                - trim\n                - if:\n                    match: \\w+\n                    do:\n                    - if:\n                        match: _sw_\n                        else:\n                        - register_set: http:\/\/images.cabelas.com\/is\/image\/?wid=1000\n                        - object_field_set:\n                            object: product\n                            joinby: &quot;|&quot;\n                            field: images\n        - find:\n            path: script:contains(&#039;params_viewlarger.push(&quot;asset&quot;,&#039;)\n            do:\n            - parse:\n                filter: \\s+altviewparams_viewlarger\\.push\\(\\&quot;asset\\&quot;\\,\\s+&quot;([^&quot;]+)&quot;\\)\\;\n            - to_block\n            - split:\n                context: text\n                delimiter: \\s*[\\;\\,]\n            - find:\n                path: div.splitted\n                do:\n                - parse:\n                    filter: ^([^\\?]+)\n                - space_dedupe\n                - trim\n                - if:\n                    match: \\w+\n                    do:\n                    - if:\n                        match: _sw_\n                        else:\n                        - register_set: http:\/\/images.cabelas.com\/is\/image\/?wid=1000\n                        - object_field_set:\n                            object: product\n                            joinby: &quot;|&quot;\n                            field: images\n        - find:\n            path: ul.breadcrumb>li>a\n            do:\n            - parse\n            - space_dedupe\n            - trim\n            - if:\n                match: \\w+\n                do:\n                - object_field_set:\n                    object: product\n                    joinby: &quot;|&quot;\n                    field: categories\n        - object_save:\n            name: product\n    - find:\n        path: html\n        do:\n        - variable_get: good\n        - if:\n            match: &quot;yes&quot;\n            else:\n            - nocontent_product<\/code><\/pre>\n<h3>\u041f\u0440\u0438\u043c\u0435\u0440 \u0434\u0430\u043d\u043d\u044b\u0445, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u043c<\/h3>\n<p>\u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u0430 \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0442\u043e\u0432\u0430\u0440\u0430\u043c\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON (\u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438). \u0414\u0430\u0442\u0430\u0441\u0435\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043a\u0430\u0447\u0430\u043d \u0438 \u043a\u0430\u043a CSV, XLSX, XML, \u0438 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u0435\u043c\u043f\u043b\u0435\u0439\u0442\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434.<\/p>\n<pre><code class=\"language-js\">[{\n    &quot;product&quot;: {\n        &quot;brand&quot;: &quot;Cabela&#039;s&quot;,\n        &quot;categories&quot;: &quot;Hunting|Hunting Bags & Packs&quot;,\n        &quot;currency&quot;: &quot;USD&quot;,\n        &quot;date&quot;: &quot;2017-12-27T13:24:43.531Z&quot;,\n        &quot;description&quot;: &quot;For total concealment and game-stalking quiet construction, look no further than our Traditional Hydration Pack. Incorporating low-nap poly tricot with PVC backing, this 70-oz.-capacity pack features comfort shoulder straps and a low-profile design. Taste-free hydration-tube system. External zippered pocket and shock-cord cargo panel. Imported.&quot;,\n        &quot;images&quot;: &quot;http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_518535_510_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_518535_510_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_518535_510_alt01_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_518535_510_alt02_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_518535_510_alt03_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_518535_510_alt04_01?wid=1000&quot;,\n        &quot;name&quot;: &quot;Cabela&#039;s Traditional Hydration Pack&quot;,\n        &quot;price&quot;: 23.88,\n        &quot;sku&quot;: &quot;IK-518535&quot;,\n        &quot;url&quot;: &quot;http:\/\/www.cabelas.com\/product\/hunting\/hunting-bags-packs\/pc\/104791680\/c\/104392080\/cabelas-traditional-hydration-pack\/728032.uts&quot;\n    }\n}\n,{\n    &quot;product&quot;: {\n        &quot;brand&quot;: &quot;Badlands&quot;,\n        &quot;categories&quot;: &quot;Hunting|Hunting Bags & Packs&quot;,\n        &quot;currency&quot;: &quot;USD&quot;,\n        &quot;date&quot;: &quot;2017-12-27T13:24:46.525Z&quot;,\n        &quot;description&quot;: &quot;Long, challenging hunting trips require you to be prepared for any obstacle you might encounter. With Cabela&#039;s-exclusive Badlands&#039; Release Day Pack, you&#039;ll have the pocket space, support and carry capabilities you need to be just that \u2013 prepared. The legendary Air-Track\u2122 Suspension system combines with the technical, ultralight construction to deliver easy mobility for long treks over the most rugged terrain. Made of super-quiet KXO-32 fabric with rugged Hypalon- and Kevlar-reinforced stress points for durability that stands up to years of use in the field, it also offers a multitude of pockets - five to be exact - that team up to keep all of your must-have hunting gear and accessories secure while you&#039;re on the move. It even boasts bow-carrying capabilities for added hands-free convenience. External bedroll and compression straps. Accepts up to a 110-oz. reservoir (sold separately). Comes with Badlands&#039; Unconditional Lifetime Warranty. Imported.&quot;,\n        &quot;images&quot;: &quot;http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_463111_999_04?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_463111_999_04?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_463111_999_alt01_04?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_463111_999_alt02_04?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_463111_999_alt03_04?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_463111_999_alt04_04?wid=1000&quot;,\n        &quot;name&quot;: &quot;Badlands Release Day Pack \u2013 Cabela&#039;s Exclusive&quot;,\n        &quot;price&quot;: 99.99,\n        &quot;sku&quot;: &quot;IK-463111&quot;,\n        &quot;url&quot;: &quot;http:\/\/www.cabelas.com\/product\/hunting\/hunting-bags-packs\/pc\/104791680\/c\/104392080\/badlands-release-day-pack\/2000208.uts&quot;\n    }\n}\n,{\n    &quot;product&quot;: {\n        &quot;brand&quot;: &quot;Herter&#039;s&quot;,\n        &quot;categories&quot;: &quot;Hunting|Hunting Bags & Packs&quot;,\n        &quot;currency&quot;: &quot;USD&quot;,\n        &quot;date&quot;: &quot;2017-12-27T13:24:48.912Z&quot;,\n        &quot;description&quot;: &quot;Transport your calls, ammo and other duck-hunting accessories safely and securely in Herter&#039;s Waterfowl Field Bag. A large zippered opening delivers access to the main compartment, which has an adjustable divider to separate your gear. Exterior pockets on the front, back and sides keep essentials at the ready. Adjustable shoulder strap and neoprene-wrapped handle for easy carry. Rugged 600-denier polyester fabric resists snags and tears. Imported.&quot;,\n        &quot;images&quot;: &quot;http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_421520_560_02?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_421520_560_02?wid=1000&quot;,\n        &quot;name&quot;: &quot;Herter&#039;s\u00ae Waterfowl Field Bag&quot;,\n        &quot;price&quot;: 24.99,\n        &quot;sku&quot;: &quot;IK-421520&quot;,\n        &quot;url&quot;: &quot;http:\/\/www.cabelas.com\/product\/hunting\/hunting-bags-packs\/pc\/104791680\/c\/104392080\/herters-waterfowl-field-bag\/1643686.uts&quot;\n    }\n}\n,{\n    &quot;product&quot;: {\n        &quot;brand&quot;: &quot;Cabela&#039;s&quot;,\n        &quot;categories&quot;: &quot;Hunting|Hunting Bags & Packs&quot;,\n        &quot;currency&quot;: &quot;USD&quot;,\n        &quot;date&quot;: &quot;2017-12-27T13:24:51.318Z&quot;,\n        &quot;description&quot;: &quot;You won\u2019t find a better gear bag for a lower price. Its durable, weather-resistant 600-denier polyester construction makes it ideal for toting everything from packable rain gear to extra odds and ends. Sturdy 1-1\u20442\\&quot; nylon web carry straps can be joined by a hand-friendly wrap handle. Six exterior pockets, including zippered mesh pockets on top and side, provide multiple storage and organization options. Embroidered Cabela\u2019s logo on front pocket. Imported.&quot;,\n        &quot;images&quot;: &quot;http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_999_03?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_999_03?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_014_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_014_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_022_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_022_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_027_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_027_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_148_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_148_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_928_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_928_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_896_05?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_896_05?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_014_alt01_01?wid=1000|http:\/\/images.cabelas.com\/is\/image\/Cabelas\/s7_580032_148_alt01_01?wid=1000&quot;,\n        &quot;name&quot;: &quot;Cabela&#039;s Catch-All Gear Bags&quot;,\n        &quot;price&quot;: 14.99,\n        &quot;sku&quot;: &quot;IK-580032&quot;,\n        &quot;url&quot;: &quot;http:\/\/www.cabelas.com\/product\/hunting\/hunting-bags-packs\/pc\/104791680\/c\/104392080\/cabelas-catch-all-gear-bags\/753422.uts&quot;,\n        &quot;variations&quot;: &quot;BLUE|TAN|PINK|GRAY|CAMO|O2 OCTANE&quot;\n    }\n}]\n<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0433\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u043e\u043d\u043b\u0430\u0439\u043d \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430 Cabela\u2019s \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u0434\u0435\u0441\u044f\u0442\u043a\u0430\u0445 \u0442\u044b\u0441\u044f\u0447 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0434\u043b\u044f \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043e\u0442\u0434\u044b\u0445\u0430, \u043e\u0445\u043e\u0442\u044b, \u0440\u044b\u0431\u0430\u043b\u043a\u0438 \u0438 \u0442\u0443\u0440\u0438\u0437\u043c\u0430. \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Cabela\u2019s \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0432\u0435\u0434\u0443\u0449\u0438\u0445 \u0430\u043c\u0435\u0440\u0438\u043a\u0430\u043d\u0441\u043a\u0438\u0445 \u0440\u0435\u0442\u0435\u0439\u043b\u0435\u0440\u043e\u0432 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0437\u0430\u043d\u044f\u0442\u0438\u0439 \u0438 \u0441\u043f\u043e\u0440\u0442\u0430 \u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u043e\u0437\u0434\u0443\u0445\u0435. \u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u0431\u044b\u043b\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u0432 1961 \u0433\u043e\u0434\u0443 \u0420\u0438\u0447\u0430\u0440\u0434\u043e\u043c \u041a\u0430\u0431\u0435\u043b\u0430 \u0432 \u0433\u043e\u0440\u043e\u0434\u0435 \u0421\u0438\u0434\u043d\u0435\u0439, \u0448\u0442\u0430\u0442 [&hellip;]<\/p>","protected":false},"author":2,"featured_media":434,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,40],"tags":[],"class_list":["post-429","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-besplatnye-parsery","category-parser-magazina"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/posts\/429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/comments?post=429"}],"version-history":[{"count":5,"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions"}],"predecessor-version":[{"id":912,"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions\/912"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/media\/434"}],"wp:attachment":[{"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/media?parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/categories?post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.diggernaut.ru\/blog\/wp-json\/wp\/v2\/tags?post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}