{"id":292447,"date":"2019-07-23T15:00:31","date_gmt":"2019-07-23T15:00:31","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=292447"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=292447","title":{"rendered":"\u0412\u044b\u043f\u0438\u0441\u043a\u0438 \u0438\u0437 \u0420\u043e\u0441\u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \u0424\u0413\u0418\u0421 \u0415\u0413\u0420\u041d \u0438 python. \u0427\u0430\u0441\u0442\u044c 1 \u2014 \u043e\u0431\u0440\u0430\u0437\u0435\u0446"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\n<h2>\u0414\u0435\u0448\u0435\u0432\u044b\u0435 \u0432\u044b\u043f\u0438\u0441\u043a\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0443\u0447\u0448\u0435 ?<\/h2>\n<p>   \u0423 \u0420\u043e\u043c\u0430\u043d\u0430 \u0410\u043d\u0434\u0440\u0435\u0435\u0432\u0438\u0447\u0430 \u041a\u0430\u0440\u0446\u0435\u0432\u0430 \u0435\u0441\u0442\u044c <a href=\"https:\/\/www.youtube.com\/watch?v=PDM0GNgxPcM\">\u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 \u043c\u043e\u043d\u043e\u043b\u043e\u0433 \u043f\u0440\u043e \u0440\u0430\u043a\u043e\u0432<\/a> \u0432\u0447\u0435\u0440\u0430\u0448\u043d\u0438\u0445 \u043f\u043e 5 \u0440\u0443\u0431. \u0438 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0445 \u043f\u043e 3-\u0438. \u0411\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u043f\u043e\u0441\u0442 \u0431\u044b\u043b \u043f\u0440\u043e \u0440\u0430\u043a\u043e\u0432 \u043f\u043e 5 \u0440\u0443\u0431. \u0422\u0430\u043a \u043a\u0430\u043a \u0432\u044b\u043f\u0438\u0441\u043a\u0430 \u0438\u0437 \u0415\u0413\u0420\u041d \u043f\u043e 300 \u0440\u0443\u0431., \u0445\u043e\u0442\u044c \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043d\u0435 \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u043e \u043a\u0430\u0440\u043c\u0430\u043d\u0443, \u0435\u0441\u043b\u0438 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u0445. <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u043e\u0442 \u0436\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0432 400 \u0440\u0443\u0431. \u0437\u0430 1000 \u0432\u044b\u043f\u0438\u0441\u043e\u043a \u0438\u0437 \u0415\u0413\u0420\u041d. \u041d\u0430\u0448\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043d\u0435\u0445\u0438\u0442\u0440\u044b\u0435 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438, \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442, \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0437\u0430 \u043d\u0430\u0441 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u043e\u043b\u044f \u043f\u0440\u0438 \u043f\u043e\u0434\u0430\u0447\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0420\u043e\u0441\u0440\u0435\u0435\u0441\u0442\u0440. \u041a\u0430\u043a \u0438 \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c api \u0420\u043e\u0441\u0440\u0435\u0435\u0441\u0442\u0440\u0430.<br \/>  <a name=\"habracut\"><\/a><br \/>   \u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c:<\/p>\n<div class=\"oembed\">\n<div>\n<div style=\"left: 0; width: 100%; height: 0; position: relative; padding-bottom: 56.2493%;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/_6wWKpO6upM?rel=0&amp;showinfo=1&amp;hl=en-US\" style=\"border: 0; top: 0; left: 0; width: 100%; height: 100%; position: absolute;\" allowfullscreen scrolling=\"no\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<p>   \u041f\u043e\u0440\u0442\u0430\u043b \u0420\u043e\u0441\u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0424\u0413\u0418\u0421 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043d\u0430 \u043f\u043e\u0440\u0442\u0430\u043b\u0435 \u043a\u043b\u044e\u0447 \u2014 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e-\u0446\u0438\u0444\u0440\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443. \u0414\u0430\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0432\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0440\u0430\u0437\u043e\u0432\u043e \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0424\u0413\u0418\u0421 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u0432 \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u041c\u043e\u0438 \u043a\u043b\u044e\u0447\u0438\u00bb:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/a9\/qu\/qi\/a9quqifn-unplgltzqqmk5mwq50.png\"> <\/p>\n<p>  \u0411\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u043a\u043b\u044e\u0447 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u0435\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u0430\u044f.<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u0434\u0430\u0447\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/p>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0434\u0430\u0441\u0442 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0440\u043e\u0441 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443. <\/p>\n<h2>\u0417\u0430\u043f\u0440\u043e\u0441\u044b \u0432 \u0415\u0413\u0420\u041d \u2013 \u0432\u0435\u0440\u0441\u0438\u044f 2.0<\/h2>\n<p>  \u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u0438:<\/p>\n<pre><code class=\"python\">import webbrowser,time from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementException import os<\/code><\/pre>\n<p>  \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u0441\u0430\u0439\u0442 \u0424\u0413\u0418\u0421 \u0415\u0413\u0420\u041d:<\/p>\n<pre><code class=\"python\">browser = webdriver.Firefox() browser.implicitly_wait(40) browser.get ('https:\/\/rosreestr.ru\/wps\/portal\/p\/cc_present\/ir_egrn')<\/code><\/pre>\n<p>  \u041d\u0430\u0441 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442 \u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u0434\u043b\u044f \u0432\u0432\u043e\u0434\u0430 \u043a\u043b\u044e\u0447\u0430 \u0420\u041e\u0441\u0440\u0435\u0435\u0441\u0442\u0440\u0430, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0448\u043b\u0430 \u0440\u0435\u0447\u044c \u0432\u044b\u0448\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/bc\/un\/u-\/bcunu-f1vnq64j7ajba0zoxvndc.jpeg\"><\/p>\n<p>  \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c CSS-\u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440 \u043e\u043a\u043d\u0430, \u043a\u0443\u0434\u0430 \u043d\u0430\u0434\u043e \u0432\u043d\u0435\u0441\u0442\u0438 \u043a\u043b\u044e\u0447, \u0432\u0432\u043e\u0434\u0438\u043c \u0441\u0432\u043e\u0439 \u043a\u043b\u044e\u0447 \u0438 \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432\u043e \u0424\u0413\u0418\u0421 \u0415\u0413\u0420\u041d, \u043d\u0430\u0436\u0430\u0432 \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u0412\u043e\u0439\u0442\u0438\u00bb:<\/p>\n<pre><code class=\"python\">act = browser.find_element_by_css_selector('.v-panel-content &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; input:nth-child(1)') for i in '---------': \tact.send_keys(i) time.sleep(2) act = browser.find_element_by_css_selector('.v-panel-content &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(3) &gt; div:nth-child(1) &gt; input:nth-child(1)') for i in '----': \tact.send_keys(i) time.sleep(2) act = browser.find_element_by_css_selector('.v-panel-content &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(5) &gt; div:nth-child(1) &gt; input:nth-child(1)')\t for i in '----': \tact.send_keys(i) time.sleep(2) act = browser.find_element_by_css_selector('.v-panel-content &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(7) &gt; div:nth-child(1) &gt; input:nth-child(1)')                                          for i in '----': \tact.send_keys(i) time.sleep(2) act = browser.find_element_by_css_selector('.v-panel-content &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(9) &gt; div:nth-child(1) &gt; input:nth-child(1)')                                            for i in '--------': \tact.send_keys(i) time.sleep(2) act = browser.find_element_by_css_selector('.v-button-normalButton &gt; span:nth-child(1) &gt; span:nth-child(1)') act.click() time.sleep(2)<\/code><\/pre>\n<p>   \u0417\u0434\u0435\u0441\u044c \u043d\u0430\u0434\u043e \u0432\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043f\u043e\u043b\u044f \u0441 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 &#171;-&#187; \u0447\u0430\u0441\u0442\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u043a\u043b\u044e\u0447\u0430, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0435\u0433\u043e \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0447\u0430\u0441\u0442\u044f\u043c\u0438, \u043f\u0435\u0440\u0435\u043f\u0440\u044b\u0433\u0438\u0432\u0430\u044f \u043f\u043e \u043f\u043e\u043b\u044f\u043c.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0443\u0441\u043f\u0435\u0448\u043d\u043e, \u0442\u043e \u043c\u044b \u043f\u043e\u043f\u0430\u0434\u0435\u043c \u0432 \u043e\u043a\u043d\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/3r\/1z\/vx\/3r1zvxjc7tzvi9fzye-dgp91mk8.jpeg\"><\/p>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043a\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043d\u0430\u0436\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u00ab\u041f\u043e\u0438\u0441\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438\u00bb:<\/p>\n<pre><code class=\"python\">act = browser.find_element_by_css_selector('.v-gridlayout-margin &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; span:nth-child(1) &gt; span:nth-child(2)') act.click() time.sleep(1)<\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043f\u043e\u043b\u044f \u043c\u044b \u0432\u0432\u0435\u0434\u0435\u043c \u043a\u0430\u0434\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0438 \u0443\u043a\u0430\u0436\u0435\u043c \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430. \u0411\u0435\u0437 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0431 \u043e\u0431\u043b\u0430\u0441\u0442\u0438, \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0448\u0430\u0433\u0443 \u043d\u0435\u043b\u044c\u0437\u044f: <\/p>\n<pre><code class=\"python\">act = browser.find_element_by_css_selector('.v-verticallayout-searchFormOuter &gt; div:nth-child(1) &gt; div:nth-child(2) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; input:nth-child(1)') act.click() for i in '66:36:2801001:223': \tact.send_keys(i) act = browser.find_element_by_css_selector('.v-filterselect-error &gt; input:nth-child(1)') act.click() for i in '\u0421\u0432\u0435\u0440\u0434\u043b\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c': \tact.send_keys(i) time.sleep(5) act.send_keys(Keys.ENTER) act = browser.find_element_by_css_selector('.v-horizontallayout-borderTop &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; span:nth-child(1) &gt; span:nth-child(1)') act.click()<\/code><\/pre>\n<p>  \u041d\u0430\u0448\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u043e\u043a\u043d\u043e:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/so\/e1\/3c\/soe13csddgrlddrmegddr0ceqxy.jpeg\"><\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0432\u043d\u0438\u0437\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043e\u0431\u044a\u0435\u043a\u0442, \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e:<\/p>\n<pre><code class=\"python\">act = browser.find_element_by_css_selector('.v-table-table') act.click()<\/code><\/pre>\n<p>  \u0418 \u043c\u044b \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u043c \u043d\u0430 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0448\u0430\u0433, \u0433\u0434\u0435 \u043d\u0430\u0441 \u0441\u043d\u043e\u0432\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442 \u043a\u0430\u043f\u0447\u0430. \u0422\u0430\u043a\u0436\u0435 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441: <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pa\/6-\/-r\/pa6--rtgaetaphsuo70tr63isda.jpeg\"><\/p>\n<p>  \u0412\u0432\u0435\u0434\u0435\u043c \u043a\u0430\u043f\u0447\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u041f\u043e\u043a\u0430 \u0442\u0430\u043a\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u00ab\u043e\u0431\u0445\u043e\u0434\u0430\u00bb \u043a\u0430\u043f\u0447\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c:<\/p>\n<pre><code class=\"python\">act = browser.find_element_by_css_selector('.v-textfield') act.click() i=input(\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u0430\u043f\u0447\u0443 \u0437\u0434\u0435\u0441\u044c \u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 ENTER: \") for a in i:         act.send_keys(a)         time.sleep(1) act.send_keys(Keys.ENTER)<\/code><\/pre>\n<p>  *\u0422\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0436\u0434\u0430\u0442\u044c \u043f\u043e\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0440\u0443\u043a\u0430\u043c\u0438 \u0432\u0432\u0435\u0434\u0435\u0442 \u043a\u0430\u043f\u0447\u0443 \u0432 \u043e\u043a\u043d\u0435 \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u0438 \u043d\u0430\u0436\u043c\u0435\u0442 \u00abenter\u00bb.<\/p>\n<p>  \u0418, \u0434\u0430\u043b\u0435\u0435, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0441\u0430\u043c\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 \u0432\u043e \u0424\u0413\u0418\u0421 \u0415\u0413\u0420\u041d:<\/p>\n<pre><code class=\"python\">act = browser.find_element_by_css_selector('.v-horizontallayout-blockNotTall &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; div:nth-child(1) &gt; span:nth-child(1) &gt; span:nth-child(1)') act.click() time.sleep(3)<\/code><\/pre>\n<p>  \u0418 \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u0442 \u043d\u0430 \u00ab\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443\u00bb:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/q1\/rm\/zn\/q1rmzn2l40fe7os7jumjv31r9dw.jpeg\"><\/p>\n<p>  \u041c\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u0434\u0430\u043b\u0438 \u0437\u0430\u043f\u0440\u043e\u0441 \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0443.<\/p>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u0432\u043e \u0424\u0413\u0418\u0421 \u043c\u043e\u0436\u043d\u043e \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u041c\u043e\u0438 \u0437\u0430\u044f\u0432\u043a\u0438\u00bb, \u043e \u0447\u0435\u043c \u043d\u0430\u043c \u0438 \u0441\u043e\u043e\u0431\u0449\u0430\u044e\u0442.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u043f\u043e \u0432\u0441\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 excel \u0438\u2026 \u043a\u0430\u043a-\u0442\u043e \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u044c \u043a\u0430\u043f\u0447\u0443. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u044d\u0442\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u0443\u0436\u0435 \u0434\u0440\u0443\u0433\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f. \u0425\u043e\u0442\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u0432 \u043a\u043e\u0434\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0437\u0430\u043b\u0438\u0442\u043e\u0439 \u043d\u0430 \u043e\u0431\u043c\u0435\u043d\u043d\u0438\u043a.<\/p>\n<p>  \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u2013 <a href=\"https:\/\/yadi.sk\/d\/tMpDo9fBYaU3Xw\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/div>\n<p>               <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/461045\/\"> https:\/\/habr.com\/ru\/post\/461045\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\n<h2>\u0414\u0435\u0448\u0435\u0432\u044b\u0435 \u0432\u044b\u043f\u0438\u0441\u043a\u0438, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0443\u0447\u0448\u0435 ?<\/h2>\n<p>   \u0423 \u0420\u043e\u043c\u0430\u043d\u0430 \u0410\u043d\u0434\u0440\u0435\u0435\u0432\u0438\u0447\u0430 \u041a\u0430\u0440\u0446\u0435\u0432\u0430 \u0435\u0441\u0442\u044c <a href=\"https:\/\/www.youtube.com\/watch?v=PDM0GNgxPcM\">\u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 \u043c\u043e\u043d\u043e\u043b\u043e\u0433 \u043f\u0440\u043e \u0440\u0430\u043a\u043e\u0432<\/a> \u0432\u0447\u0435\u0440\u0430\u0448\u043d\u0438\u0445 \u043f\u043e 5 \u0440\u0443\u0431. \u0438 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0445 \u043f\u043e 3-\u0438. \u0411\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u043f\u043e\u0441\u0442 \u0431\u044b\u043b \u043f\u0440\u043e \u0440\u0430\u043a\u043e\u0432 \u043f\u043e 5 \u0440\u0443\u0431. \u0422\u0430\u043a \u043a\u0430\u043a \u0432\u044b\u043f\u0438\u0441\u043a\u0430 \u0438\u0437 \u0415\u0413\u0420\u041d \u043f\u043e 300 \u0440\u0443\u0431., \u0445\u043e\u0442\u044c \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043d\u0435 \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u043e \u043a\u0430\u0440\u043c\u0430\u043d\u0443, \u0435\u0441\u043b\u0438 \u0440\u0435\u0447\u044c \u0438\u0434\u0435\u0442 \u043e \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u0445. <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u043e\u0442 \u0436\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0432 400 \u0440\u0443\u0431. \u0437\u0430 1000 \u0432\u044b\u043f\u0438\u0441\u043e\u043a \u0438\u0437 \u0415\u0413\u0420\u041d. \u041d\u0430\u0448\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043d\u0435\u0445\u0438\u0442\u0440\u044b\u0435 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0438, \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442, \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0437\u0430 \u043d\u0430\u0441 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u043e\u043b\u044f \u043f\u0440\u0438 \u043f\u043e\u0434\u0430\u0447\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0420\u043e\u0441\u0440\u0435\u0435\u0441\u0442\u0440. \u041a\u0430\u043a \u0438 \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c api \u0420\u043e\u0441\u0440\u0435\u0435\u0441\u0442\u0440\u0430.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-292447","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/292447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=292447"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/292447\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=292447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=292447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=292447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}