{"id":289110,"date":"2018-09-07T17:55:02","date_gmt":"2018-09-07T13:55:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=289110"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2018-09-07T13:55:02","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=289110","title":{"rendered":"MongoDB \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u044b\u043d\u043a\u0430 \u0418\u0422-\u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439"},"content":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/422627\/\" class=\"post__text post__text-html js-mediator-article\">\u0412\u044b \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438?<\/p>\n<p>  \u0417\u0430\u0434\u0430\u0432\u0430\u043b\u0438\u0441\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c, \u0432 \u043a\u0430\u043a\u0438\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u0445 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0441\u0438\u043b\u044c\u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u0440\u044b\u043d\u043a\u0430 \u0442\u0440\u0443\u0434\u0430 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442? \u041c\u0435\u0441\u044f\u0446 \u043d\u0430\u0437\u0430\u0434? \u0413\u043e\u0434 \u043d\u0430\u0437\u0430\u0434? <\/p>\n<p>  \u041a\u0430\u043a \u0447\u0430\u0441\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 Java-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u0440\u0430\u0439\u043e\u043d\u0435 \u0412\u0430\u0448\u0435\u0433\u043e \u0433\u043e\u0440\u043e\u0434\u0430 \u0438 \u043a\u0430\u043a \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043e\u043d\u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f? <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0412\u0430\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u0442\u0447\u0435\u0442\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0435\u0439 \u043d\u0430\u0441 \u0442\u0435\u043c\u0435. \u041f\u043e\u0435\u0445\u0430\u043b\u0438!<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/z0\/f8\/y8\/z0f8y8sbxdtwpnhis-xvvclfodc.gif\" \/><\/div>\n<p>  <a href=\"https:\/\/mbtskoudsalg.com\/image\/jobs-clipart-job-placement\/95304.html\">\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a<\/a><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h3>\u0412\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u043d\u0430 <a href=\"https:\/\/spb.hh.ru\/\">Headhunter.ru<\/a><\/h3>\n<p>  \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u043c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u0432\u0430\u0441 \u0437\u043d\u0430\u043a\u043e\u043c\u044b \u0438 \u0434\u0430\u0436\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u0442\u0430\u043a\u0438\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u043c \u043a\u0430\u043a <a href=\"https:\/\/spb.hh.ru\/\">Headhunter.ru<\/a>. \u041d\u0430 \u044d\u0442\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u0442\u044b\u0441\u044f\u0447\u0438 \u043d\u043e\u0432\u044b\u0445 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u0431\u043b\u0430\u0441\u0442\u044f\u0445. \u0422\u0430\u043a \u0436\u0435 \u0443 HeadHunter \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 API, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0430.<\/p>\n<h3>\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439<\/h3>\n<p>  \u041d\u0430 \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u043e\u0442\u0447\u0435\u0442\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0430\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 API \u0441\u0430\u0439\u0442\u0430 Headhunter.ru. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u0443\u044e \u0421\u0423\u0411\u0414 SQLite, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 NoSQL \u0431\u0430\u0437\u0435 MongoDB, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u2013 Python \u0432\u0435\u0440\u0441\u0438\u0438 3.4.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">HH API<\/b><\/p>\n<div class=\"spoiler_text\">\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 HeadHunter API \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043e\u0431\u0448\u0438\u0440\u043d\u044b \u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043d\u0430 <a href=\"https:\/\/github.com\/hhru\/api\">GitHib<\/a>. \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e, \u044d\u0442\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044f\u0445 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON. \u0421 \u043d\u0435\u0434\u0430\u0432\u043d\u0438\u0445 \u043f\u043e\u0440 \u0440\u044f\u0434 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0441\u0442\u0430\u043b \u043f\u043b\u0430\u0442\u043d\u044b\u043c (\u043c\u0435\u0442\u043e\u0434\u044b \u0440\u0430\u0431\u043e\u0442\u043e\u0434\u0430\u0442\u0435\u043b\u044f), \u043d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435 \u043e\u043d\u0438 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0443\u0442.  <\/div>\n<\/div>\n<p>  <\/p>\n<blockquote><p>\u041a\u0430\u0436\u0434\u0430\u044f \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044f \u0432\u0438\u0441\u0438\u0442 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 30 \u0434\u043d\u0435\u0439, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e, \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u043d\u0435 \u043f\u0440\u043e\u0434\u043b\u0435\u0432\u0430\u0435\u0442\u0441\u044f, \u0442\u043e \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u0432 \u0430\u0440\u0445\u0438\u0432. \u0415\u0441\u043b\u0438 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044f \u043f\u043e\u043f\u0430\u043b\u0430 \u0432 \u0430\u0440\u0445\u0438\u0432 \u0434\u043e \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044f 30-\u0442\u0438 \u0434\u043d\u0435\u0439, \u0437\u043d\u0430\u0447\u0438\u0442, \u043e\u043d\u0430 \u0431\u044b\u043b\u0430 <b>\u0437\u0430\u043a\u0440\u044b\u0442\u0430 <\/b>\u0440\u0430\u0431\u043e\u0442\u043e\u0434\u0430\u0442\u0435\u043b\u0435\u043c. <\/p>\n<p>  HeadHunter API (\u0434\u0430\u043b\u0435\u0435 \u2014 HH API) \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043c\u0430\u0441\u0441\u0438\u0432 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 \u0437\u0430 \u043b\u044e\u0431\u0443\u044e \u0434\u0430\u0442\u0443 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 30 \u0434\u043d\u0435\u0439, \u0447\u0435\u043c \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u2013 \u0431\u0443\u0434\u0435\u043c \u043d\u0430 <b>\u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e\u0439 <\/b> \u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0437\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c.  <\/p><\/blockquote>\n<h2>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h2>\n<p>  <\/p>\n<ul>\n<li>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0411\u0414 SQLite\n<pre><code class=\"python\">import sqlite3 conn_db = sqlite3.connect('hr.db', timeout=10) c = conn_db.cursor()\t<\/code><\/pre>\n<\/li>\n<li>\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438<br \/>   \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430, \u0431\u0443\u0434\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 (\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0434\u0430\u0442\u0443) \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0411\u0414 SQLite. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0435 <b>vacancy_history<\/b> \u043d\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430 \u043d\u0430 \u043b\u044e\u0431\u0443\u044e \u0434\u0430\u0442\u0443 \u0432\u044b\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435, \u0442.\u0435. \u0432 \u043a\u0430\u043a\u0438\u0435 \u0434\u0430\u0442\u044b \u043e\u043d\u0430 \u0431\u044b\u043b\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u0430.\n<pre><code class=\"python\">c.execute('''                          create table if not exists vacancy_history                  (                      id_vacancy integer,                       date_load text,                       date_from text,                      date_to text                  )''')<\/code><\/pre>\n<\/li>\n<li>\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439<br \/>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0431\u043e\u043b\u0435\u0435 2000 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0439, \u0430 \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u043d\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043e \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439, \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0444\u0438\u043b\u044c\u0442\u0440 \u0432 \u0442\u0435\u043b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0443 (area = 2), \u043f\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 IT (specialization = 1)\n<pre><code class=\"python\">path = (&quot;\/vacancies?area=2&specialization=1&page={}&per_page={}&date_from={}&date_to={}&quot;.format(page, per_page, date_from, date_to))<\/code><\/pre>\n<\/li>\n<li>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u043e\u0442\u0431\u043e\u0440\u0430<br \/>  \u0420\u044b\u043d\u043e\u043a \u0442\u0440\u0443\u0434\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0441\u0442\u0435\u0442 \u0438 \u0434\u0430\u0436\u0435 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0444\u0438\u043b\u044c\u0442\u0440\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0435\u0432\u044b\u0441\u0438\u0442\u044c 2000, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0437\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c: \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0437\u0430 \u043f\u0435\u0440\u0432\u0443\u044e \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u0434\u043d\u044f \u0438 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0437\u0430 \u0432\u0442\u043e\u0440\u0443\u044e \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u0434\u043d\u044f\n<pre><code class=\"python\">def get_vacancy_history():     ...          count_days = 30     hours = 0              while count_days &gt;= 0:                  while hours &lt; 24:             date_from = (cur_date.replace(hour=hours, minute=0, second=0) -                               td(days=count_days)).strftime('%Y-%m-%dT%H:%M:%S')              date_to = (cur_date.replace(hour=hours + 11, minute=59, second=59) -                             td(days=count_days)).strftime('%Y-%m-%dT%H:%M:%S')              while count == per_page:                 path = (&quot;\/vacancies?area=2&specialization=1&page={} &per_page={}&date_from={}&date_to={}&quot;                         .format(page, per_page, date_from, date_to))                  conn.request(&quot;GET&quot;, path, headers=headers)                 response = conn.getresponse()                 vacancies = response.read()                 conn.close()                  count = len(json.loads(vacancies)['items'])                                  ...                                     # \u0412\u0441\u0442\u0430\u0432\u043a\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0411\u0414                 try:                     c.executemany('INSERT INTO vacancy_history VALUES (?,?,?,?)', collection_for_ins)                 except sqlite3.DatabaseError as err:                            print(&quot;Error: &quot;, err)                 else:                     conn_db.commit()                  if collection_for_ins:                     page = page + 1                     total = total + count                     # \u043e\u0431\u043d\u0443\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430                     del(collection_for_ins[:])              hours = hours + 12                  count_days = count_days - 1         hours = 0 <\/code><\/pre>\n<p>  <\/li>\n<\/ul>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0435\u0440\u0432\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u043d\u0430\u043c\u0438 \u0441\u0442\u043e\u0438\u0442 \u0437\u0430\u0434\u0430\u0447\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044b \u0437\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0437\u0430 \u0438\u044e\u043b\u044c 2018 \u0433\u043e\u0434\u0430. \u042d\u0442\u043e \u0440\u0435\u0448\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e SQL \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0435 vacancy_history \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0438\u0442 \u043d\u0443\u0436\u043d\u044b\u0435 \u043d\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0432 DataFrame \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430:<\/p>\n<pre><code class=\"python\">    c.execute(&quot;&quot;&quot;             select                      a.id_vacancy,                     date(a.date_load) as date_last_load,                     date(a.date_from) as date_publish,                     ifnull(a.date_next, date(a.date_load, '+1 day')) as date_close             from (                 select                      vh1.id_vacancy,                     vh1.date_load,                     vh1.date_from,                     min(vh2.date_load) as date_next                 from vacancy_history vh1                 left join vacancy_history vh2                     on vh1.id_vacancy = vh2.id_vacancy                     and vh1.date_load &lt; vh2.date_load                 where date(vh1.date_load) between :date_in and :date_out                 group by                      vh1.id_vacancy,                     vh1.date_load,                     vh1.date_from                 ) as a             where a.date_next is null             &quot;&quot;&quot;,                {&quot;date_in&quot; : date_in, &quot;date_out&quot; : date_out})  date_in = dt.datetime(2018, 7, 1) date_out = dt.datetime(2018, 7, 31)  closed_vacancies = get_closed_by_period(date_in, date_out)  df = pd.DataFrame(closed_vacancies,  columns = ['id_vacancy', 'date_last_load', 'date_publish', 'date_close']) df.head()<\/code><\/pre>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u0430\u043a\u043e\u0433\u043e \u0432\u0438\u0434\u0430:  <\/p>\n<table>\n<tr>\n<th><\/th>\n<th>id_vacancy<\/th>\n<th>date_last_load<\/th>\n<th>date_publish<\/th>\n<th>date_close<\/th>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>18126697<\/td>\n<td>2018-07-09<\/td>\n<td>2018-07-09<\/td>\n<td>2018-07-10<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>18155121<\/td>\n<td>2018-07-09<\/td>\n<td>2018-06-19<\/td>\n<td>2018-07-10<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>18881605<\/td>\n<td>2018-07-09<\/td>\n<td>2018-07-02<\/td>\n<td>2018-07-10<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>19620783<\/td>\n<td>2018-07-09<\/td>\n<td>2018-06-27<\/td>\n<td>2018-07-10<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>19696188<\/td>\n<td>2018-07-09<\/td>\n<td>2018-06-15<\/td>\n<td>2018-07-10<\/td>\n<\/tr>\n<\/table>\n<p>\u0415\u0441\u043b\u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0430\u043d\u0430\u043b\u0438\u0437 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 Excel \u0438\u043b\u0438 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043c\u0438 BI-\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 vacancy_history \u0432 csv-\u0444\u0430\u0439\u043b \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430:<\/p>\n<pre><code class=\"python\"># \u042d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u043e\u043b\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0438\u0437 \u0411\u0414 \u0432 CSV data = c.execute('select * from vacancy_history')  with open('vacancy_history.csv','w', newline='') as out_csv_file:     csv_out = csv.writer(out_csv_file)                            csv_out.writerow(d[0] for d in data.description)     csv_out.writerows(data.fetchall())  conn_db.close()<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<h3>\u0422\u044f\u0436\u0435\u043b\u0430\u044f \u0430\u0440\u0442\u0438\u043b\u043b\u0435\u0440\u0438\u044f<\/h3>\n<p>  \u0410 \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u0434\u0430\u043d\u043d\u044b\u0445? \u0417\u0434\u0435\u0441\u044c \u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f NoSQL \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 <a href=\"https:\/\/www.mongodb.com\/what-is-mongodb\">MongoDB<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 JSON-\u0444\u043e\u0440\u043c\u0430\u0442\u0435.<\/p>\n<ul>\n<li>\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043c\u043e\u0435\u0439 \u0431\u0430\u0437\u044b MongoDB \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442 \u0432 \u043e\u0431\u043b\u0430\u0447\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 <a href=\"https:\/\/mlab.com\/\">mLab<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043e 500MB, \u0447\u0435\u0433\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u0440\u0430\u0437\u0431\u043e\u0440\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u0412 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 hr_db \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f Vacancy, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435:\n<pre><code class=\"python\"># \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043e\u0431\u043b\u0430\u0447\u043d\u0443\u044e \u0431\u0430\u0437\u0443 Mongo from pymongo import MongoClient from pymongo import ASCENDING from pymongo import errors client = MongoClient('mongodb:\/\/&lt;db_user&gt;:&lt;dbpassword&gt;@ds115219.mlab.com:15219\/hr_db') db = client.hr_db VacancyMongo = db.Vacancy<\/code><\/pre>\n<\/li>\n<li> \u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0443\u0431\u043b\u044f\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0432\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a \u0440\u0443\u0431\u043b\u0435\u0432\u043e\u043c\u0443 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e HH API \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439, \u0433\u0434\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043a\u0443\u0440\u0441\u0435 \u0432\u0430\u043b\u044e\u0442 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0430\u0442\u0443:\n<pre><code class=\"python\"># \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u0430 def get_dictionaries():     conn = http.client.HTTPSConnection(&quot;api.hh.ru&quot;)     conn.request(&quot;GET&quot;, &quot;https:\/\/api.hh.ru\/dictionaries&quot;, headers=headers)     response = conn.getresponse()     if response.status != 200:         conn.close()         conn = http.client.HTTPSConnection(&quot;api.hh.ru&quot;)         conn.request(&quot;GET&quot;, &quot;https:\/\/api.hh.ru\/dictionaries&quot;, headers=headers)         response = conn.getresponse()     dictionaries = response.read()     dictionaries_json = json.loads(dictionaries)      return dictionaries_json<\/code><\/pre>\n<\/li>\n<li>\u0417\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0441\u043b\u043e\u0432\u0430\u0440\u044f \u0441 \u0432\u0430\u043b\u044e\u0442\u0430\u043c\u0438 \u0442\u0435\u043a\u0443\u0449\u0438\u043c\u0438 \u043a\u0443\u0440\u0441\u0430\u043c\u0438 \u0432\u0430\u043b\u044e\u0442:\n<pre><code class=\"python\">hh_dictionary = get_dictionaries() currencies = hh_dictionary['currency']  currency_rates = {}  for currency in currencies:     currency_rates[currency['code']] = currency['rate']   <\/code><\/pre>\n<p>  <\/li>\n<\/ul>\n<blockquote><p>\u0412\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u043e \u0441\u0431\u043e\u0440\u0443 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043d\u0438\u0445 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u0411\u0443\u0434\u0435\u043c \u0431\u0440\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435, \u0447\u0442\u043e \u0431\u044b\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 <b>\u043f\u044f\u0442\u044c<\/b> \u0434\u043d\u0435\u0439.<\/p><\/blockquote>\n<ul>\n<li>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 5 \u0434\u043d\u0435\u0439 \u0438\u0437 \u0411\u0414 SQLite:\n<pre><code class=\"python\">def get_list_of_vacancies_sql():          conn_db = sqlite3.connect('hr.db', timeout=10)     conn_db.row_factory = lambda cursor, row: row[0]     c = conn_db.cursor()     items = c.execute(&quot;&quot;&quot;                 select                      distinct id_vacancy                 from vacancy_history                 where date(date_load) &gt;= date('now', '-5 day')             &quot;&quot;&quot;).fetchall()          conn_db.close()     return items<\/code><\/pre>\n<\/li>\n<li>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043f\u044f\u0442\u044c \u0434\u043d\u0435\u0439 \u0438\u0437 MongoDB:\n<pre><code class=\"python\">def get_list_of_vacancies_nosql():          date_load = (dt.datetime.now() - td(days=5)).strftime('%Y-%m-%d')     vacancies_from_mongo = []      for item in VacancyMongo.find({&quot;date_load&quot; : {&quot;$gte&quot; : date_load}}, {&quot;id&quot; : 1, &quot;_id&quot; : 0}):         vacancies_from_mongo.append(int(item['id']))         return vacancies_from_mongo <\/code><\/pre>\n<\/li>\n<li>\u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u0440\u0430\u0437\u043d\u0438\u0446\u0443 \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u043c\u0438, \u043f\u043e \u0442\u0435\u043c \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044f\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u0442 \u0432 MongoDB, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0435 \u0432 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445:\n<pre><code class=\"python\">sql_list = get_list_of_vacancies_sql() mongo_list = get_list_of_vacancies_nosql() vac_for_pro\u0441 = []  s = set(mongo_list) vac_for_pro\u0441 = [x for x in sql_list if x not in s]  vac_id_chunks = [vac_for_pro\u0441[x: x + 500] for x in range(0, len(vac_for_pro\u0441), 500)] <\/code><\/pre>\n<\/li>\n<li>\u0418\u0442\u0430\u043a, \u0443 \u043d\u0430\u0441 \u0433\u043e\u0442\u043e\u0432 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043d\u043e\u0432\u044b\u043c\u0438 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044f\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0449\u0435 \u043d\u0435\u0442 \u0432 MongoDB, \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043d\u0438\u0445 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 HH API, \u043f\u0435\u0440\u0435\u0434 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e \u0432 MongoDB \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442:<br \/> \n<ol>\n<li>\u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0443 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u044b \u043a \u0440\u0443\u0431\u043b\u0435\u0432\u043e\u043c\u0443 \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u0443;<\/li>\n<li>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043a \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044e \u0443\u0440\u043e\u0432\u043d\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0430 (Junior\/Middle\/Senior etc)<\/li>\n<\/ol>\n<p>  \u0412\u0441\u0435 \u044d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 vacancies_processing:<\/p>\n<pre><code class=\"python\">from nltk.stem.snowball import SnowballStemmer stemmer = SnowballStemmer(&quot;russian&quot;)   def vacancies_processing(vacancies_list):          cur_date = dt.datetime.now().strftime('%Y-%m-%d')      for vacancy_id in vacancies_list:         conn = http.client.HTTPSConnection(&quot;api.hh.ru&quot;)         conn.request(&quot;GET&quot;, &quot;\/vacancies\/{}&quot;.format(vacancy_id), headers=headers)         response = conn.getresponse()         if response.status != 404:             vacancy_txt = response.read()             conn.close()             vacancy = json.loads(vacancy_txt)              # salary             salary = None             if 'salary' in vacancy:                 if vacancy['salary'] != None:                     ...                  max_salary = 500000                 if salary is not None:                     salary = int(salary)                     if salary &gt;= max_salary:                         salary = max_salary              # grade             grade = None             if 'name' in vacancy:                 p_grade = ''                 title = re.sub(u'[^a-z\u0430-\u044f]+', ' ', vacancy['name'].lower(), re.UNICODE)                 words = re.split(r'\\s{1,}', title.strip())                 for title_word in words:                     title_word = stemmer.stem(title_word)                     if len(title_word.strip()) &gt; 1:                         p_grade = p_grade + &quot; &quot; + title_word.strip()                  if re.search('(\u0433\u043b\u0430\u0432\u043d)|(princip)', p_grade):                     grade = 'principal'                     elif re.search('(\u0432\u0435\u0434\u0443\u0449)|(senior)|([f|F]ull)', p_grade):                     grade = 'senior'                 ...                 else:                     grade = 'not specify'              vacancy['salary_processed'] = salary             vacancy['date_load'] = cur_date             vacancy['grade'] = grade             vacancy.pop('branded_description', None)              try:                 post_id = VacancyMongo.insert_one(vacancy)             except errors.DuplicateKeyError:                 print ('Cant insert the duplicate vacancy_id:', vacancy['id']) <\/code><\/pre>\n<\/li>\n<li>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u0443\u0442\u0435\u043c \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a HH API, \u043f\u0440\u0435\u0434\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445<br \/>  \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0443 \u0438\u0445 \u0432 MongoDB \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u043f\u043e 500 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c:\n<pre><code class=\"python\">t_num = 1 threads = []  for vac_id_chunk in vac_id_chunks:     print('starting', t_num)     t_num = t_num + 1     t = threading.Thread(target=vacancies_processing, kwargs={'vacancies_list': vac_id_chunk})     threads.append(t)     t.start()      for t in threads:     t.join()<\/code><\/pre>\n<p>  <\/li>\n<\/ul>\n<p>  \u0417\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u0430\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f \u0432 MongoDB \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0448\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/er\/vq\/sy\/ervqsyhywfqykkbh2stmqgumc9q.jpeg\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/er\/vq\/sy\/ervqsyhywfqykkbh2stmqgumc9q.jpeg\"\/><\/a><\/p>\n<h2>\u0415\u0449\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432<\/h2>\n<p>  \u0418\u043c\u0435\u044f \u0432 \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0435\u043d\u0438\u0438 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445, \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u044b\u0431\u043e\u0440\u043a\u0438. \u0418\u0442\u0430\u043a, \u0432\u044b\u0432\u0435\u0434\u0443 \u0422\u043e\u043f-10 \u0441\u0430\u043c\u044b\u0445 \u0432\u044b\u0441\u043e\u043a\u043e\u043e\u043f\u043b\u0430\u0447\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 Python-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0435:<\/p>\n<pre><code class=\"python\">cursor_mongo = VacancyMongo.find({&quot;name&quot; : {&quot;$regex&quot; : &quot;.*[pP]ython*&quot;}})   df_mongo = pd.DataFrame(list(cursor_mongo)) del df_mongo['_id']   pd.concat([df_mongo.drop(['employer'], axis=1),             df_mongo['employer'].apply(pd.Series)['name']], axis=1)[['grade',                                                                     'name',                                                                      'salary_processed'                                                                    ]].sort_values('salary_processed',                                                                                   ascending=False)[:10]<\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0422\u043e\u043f-10 \u0441\u0430\u043c\u044b\u0445 \u0432\u044b\u0441\u043e\u043a\u043e\u043e\u043f\u043b\u0430\u0447\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 Python<\/b><\/p>\n<div class=\"spoiler_text\">\n<table border=\"1\">\n<thead>\n<tr>\n<th>grade<\/th>\n<th>name<\/th>\n<th>name<\/th>\n<th>salary_processed<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>senior<\/td>\n<td>Web Team Lead \/ \u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u043e\u0440 (Python\/Django\/React)<\/td>\n<td>Investex Ltd<\/td>\n<td>293901.0<\/td>\n<\/tr>\n<tr>\n<td>senior<\/td>\n<td>Senior Python \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0432 \u0427\u0435\u0440\u043d\u043e\u0433\u043e\u0440\u0438\u044e<\/td>\n<td>Betmaster<\/td>\n<td>277141.0<\/td>\n<\/tr>\n<tr>\n<td>senior<\/td>\n<td>Senior Python \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0432 \u0427\u0435\u0440\u043d\u043e\u0433\u043e\u0440\u0438\u044e<\/td>\n<td>Betmaster<\/td>\n<td>275289.0<\/td>\n<\/tr>\n<tr>\n<td>middle<\/td>\n<td>Back-End Web Developer (Python)<\/td>\n<td>Soshace<\/td>\n<td>250000.0<\/td>\n<\/tr>\n<tr>\n<td>middle<\/td>\n<td>Back-End Web Developer (Python)<\/td>\n<td>Soshace<\/td>\n<td>250000.0<\/td>\n<\/tr>\n<tr>\n<td>senior<\/td>\n<td>Lead Python Engineer for a Swiss Startup<\/td>\n<td>Assaia International AG<\/td>\n<td>250000.0<\/td>\n<\/tr>\n<tr>\n<td>middle<\/td>\n<td>Back-End Web Developer (Python)<\/td>\n<td>Soshace<\/td>\n<td>250000.0<\/td>\n<\/tr>\n<tr>\n<td>middle<\/td>\n<td>Back-End Web Developer (Python)<\/td>\n<td>Soshace<\/td>\n<td>250000.0<\/td>\n<\/tr>\n<tr>\n<td>senior<\/td>\n<td>Python teamlead<\/td>\n<td>DigitalHR<\/td>\n<td>230000.0<\/td>\n<\/tr>\n<tr>\n<td>senior<\/td>\n<td>\u0412\u0435\u0434\u0443\u0449\u0438\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a (Python, PHP, Javascript)<\/td>\n<td>IK GROUP<\/td>\n<td>220231.0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <\/div>\n<\/div>\n<p>  \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b\u0432\u0435\u0434\u0435\u043c, \u0432\u043e\u0437\u043b\u0435 \u043a\u0430\u043a\u043e\u0439 \u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u043c\u0435\u0442\u0440\u043e \u043d\u0430\u0438\u0432\u044b\u0441\u0448\u0430\u044f \u043a\u043e\u043d\u0446\u0435\u043d\u0442\u0440\u0430\u0446\u0438\u044f \u0432\u0430\u043a\u0430\u043d\u0442\u043d\u044b\u0445 \u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0434\u043b\u044f Java-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0444\u0438\u043b\u044c\u0442\u0440\u0443\u044e \u043f\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u201cJava\u201d, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043e\u0442\u0431\u0438\u0440\u0430\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438, \u0433\u0434\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u0430\u0434\u0440\u0435\u0441:<\/p>\n<pre><code class=\"python\">cursor_mongo = VacancyMongo.find({&quot;name&quot; : {&quot;$regex&quot; : &quot;.*[jJ]ava[^sS]&quot;}, &quot;address&quot; : {&quot;$ne&quot; : None}}) df_mongo = pd.DataFrame(list(cursor_mongo))  df_mongo['metro'] = df_mongo.apply(lambda x: x['address']['metro']['station_name']                                    if x['address']['metro'] is not None                                     else None, axis = 1)   df_mongo.groupby('metro')['_id'] \\                                 .count() \\                                 .reset_index(name='count') \\                                 .sort_values(['count'], ascending=False) \\                                 [:10]<\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u0430\u043a\u0430\u043d\u0441\u0438\u0438 Java-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u043e \u0441\u0442\u0430\u043d\u0446\u0438\u044f\u043c \u043c\u0435\u0442\u0440\u043e<\/b><\/p>\n<div class=\"spoiler_text\">\n<table border=\"1\">\n<thead>\n<tr>\n<th>metro<\/th>\n<th>count<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u0412\u0430\u0441\u0438\u043b\u0435\u043e\u0441\u0442\u0440\u043e\u0432\u0441\u043a\u0430\u044f<\/td>\n<td>87<\/td>\n<\/tr>\n<tr>\n<td>\u041f\u0435\u0442\u0440\u043e\u0433\u0440\u0430\u0434\u0441\u043a\u0430\u044f<\/td>\n<td>68<\/td>\n<\/tr>\n<tr>\n<td>\u0412\u044b\u0431\u043e\u0440\u0433\u0441\u043a\u0430\u044f<\/td>\n<td>46<\/td>\n<\/tr>\n<tr>\n<td>\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u041b\u0435\u043d\u0438\u043d\u0430<\/td>\n<td>45<\/td>\n<\/tr>\n<tr>\n<td>\u0413\u043e\u0440\u044c\u043a\u043e\u0432\u0441\u043a\u0430\u044f<\/td>\n<td>45<\/td>\n<\/tr>\n<tr>\n<td>\u0427\u043a\u0430\u043b\u043e\u0432\u0441\u043a\u0430\u044f<\/td>\n<td>43<\/td>\n<\/tr>\n<tr>\n<td>\u041d\u0430\u0440\u0432\u0441\u043a\u0430\u044f<\/td>\n<td>32<\/td>\n<\/tr>\n<tr>\n<td>\u041f\u043b\u043e\u0449\u0430\u0434\u044c \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u0438\u044f<\/td>\n<td>29<\/td>\n<\/tr>\n<tr>\n<td>\u0421\u0442\u0430\u0440\u0430\u044f \u0414\u0435\u0440\u0435\u0432\u043d\u044f<\/td>\n<td>29<\/td>\n<\/tr>\n<tr>\n<td>\u0415\u043b\u0438\u0437\u0430\u0440\u043e\u0432\u0441\u043a\u0430\u044f<\/td>\n<td>27<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h2>\u0418\u0442\u043e\u0433\u0438<\/h2>\n<p>  \u0418\u0442\u0430\u043a, \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u043e\u0438\u0441\u0442\u0438\u043d\u0435 \u0448\u0438\u0440\u043e\u043a\u0438\u0435 \u0438 \u043c\u043e\u0433\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0440\u0442\u0430\u043f\u0430 \u0438\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. <\/p>\n<p>  \u0417\u0430\u043c\u0435\u0447\u0443, \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043f\u043e\u043a\u0430 \u043b\u0438\u0448\u044c \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043f\u043e \u0433\u0435\u043e\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c \u0438 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0439 \u0432 \u0442\u043e\u043c \u0438\u043b\u0438 \u0438\u043d\u043e\u043c \u0440\u0430\u0439\u043e\u043d\u0435 \u0433\u043e\u0440\u043e\u0434\u0430.<\/p>\n<p>  \u041f\u043e\u043b\u043d\u044b\u0439 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043a \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u043d\u0430 \u043c\u043e\u0439 <a href=\"https:\/\/github.com\/igorgorbenko\/HR_RESEARCH\">GitHub<\/a>.<\/p>\n<p>  <b>P.S.<\/b> \u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f, \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0432\u0441\u0435 \u0412\u0430\u0448\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u0443\u0437\u043d\u0430\u0442\u044c \u0412\u0430\u0448\u0435 \u043c\u043d\u0435\u043d\u0438\u0435. \u0421\u043f\u0430\u0441\u0438\u0431\u043e!<\/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\/post\/422627\/\"> https:\/\/habr.com\/post\/422627\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/422627\/\" class=\"post__text post__text-html js-mediator-article\">\u0412\u044b \u043a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438?<\/p>\n<p>  \u0417\u0430\u0434\u0430\u0432\u0430\u043b\u0438\u0441\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c, \u0432 \u043a\u0430\u043a\u0438\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u0445 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0441\u0438\u043b\u044c\u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u0440\u044b\u043d\u043a\u0430 \u0442\u0440\u0443\u0434\u0430 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442? \u041c\u0435\u0441\u044f\u0446 \u043d\u0430\u0437\u0430\u0434? \u0413\u043e\u0434 \u043d\u0430\u0437\u0430\u0434? <\/p>\n<p>  \u041a\u0430\u043a \u0447\u0430\u0441\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 Java-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c \u0440\u0430\u0439\u043e\u043d\u0435 \u0412\u0430\u0448\u0435\u0433\u043e \u0433\u043e\u0440\u043e\u0434\u0430 \u0438 \u043a\u0430\u043a \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043e\u043d\u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f? <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0412\u0430\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u0442\u0447\u0435\u0442\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043f\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0435\u0439 \u043d\u0430\u0441 \u0442\u0435\u043c\u0435. \u041f\u043e\u0435\u0445\u0430\u043b\u0438!<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/z0\/f8\/y8\/z0f8y8sbxdtwpnhis-xvvclfodc.gif\" \/><\/div>\n<p>  <a href=\"https:\/\/mbtskoudsalg.com\/image\/jobs-clipart-job-placement\/95304.html\">\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a<\/a>  <\/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-289110","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/289110","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=289110"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/289110\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=289110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=289110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=289110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}