{"id":350005,"date":"2023-07-09T15:01:15","date_gmt":"2023-07-09T15:01:15","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=350005"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=350005","title":{"rendered":"<span>\u0410\u0432\u0442\u043e\u043f\u043e\u0441\u0442\u0438\u043d\u0433 \u0412\u041a (VK) \u043d\u0430 python<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>\u0412\u0432\u043e\u0434\u043d\u0430\u044f<\/h2>\n<p>\u041f\u0440\u0438\u0432\u0435\u0442. \u0423 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0433\u0440\u0443\u043f\u043f \u0432 \u0412\u041a, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u0442\u044b. \u0412 \u0446\u0435\u043b\u043e\u043c \u043c\u043e\u0435 \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0440\u0430\u0437\u043e\u0439 \u00ab\u0410 \u043a\u043e\u0433\u0434\u0430 \u043c\u043d\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u044f \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0435 \u0445\u043e\u0447\u0443\u00bb. \u041c\u043e\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u043b\u0435\u043d\u044c. <\/p>\n<p>\u042f \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0441\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c, \u043d\u043e \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u0442\u044b. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u043e\u043d\u0443\u0441 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u043f\u044b\u0442\u0430 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<\/p>\n<h2>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h2>\n<p>\u041a\u043e\u043d\u0442\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u044d\u0442\u043e \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u043e\u0442\u043e \u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u043c\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438. \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0441\u0435 \u0440\u0430\u0437\u043b\u043e\u0436\u0435\u043d\u043e \u043f\u043e \u043f\u0430\u043f\u043a\u0430\u043c. \u0410\u043b\u044c\u0431\u043e\u043c\u044b \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0438\u043c\u0435\u044e\u0442 \u0441\u0432\u043e\u0438 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0435 \u043d\u043e\u043c\u0435\u0440\u0430.<\/p>\n<p>\u0427\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u043e\u0442\u0440\u0430\u0437\u0438\u0442\u044c \u0432 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0435:<\/p>\n<ul>\n<li>\n<p>\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e\u0441\u0442\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b; <\/p>\n<\/li>\n<li>\n<p>\u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043d\u0435\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438 \u043a \u043f\u043e\u0441\u0442\u0430\u043c;<\/p>\n<\/li>\n<li>\n<p>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u0442 \u0431\u0435\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u0438;<\/p>\n<\/li>\n<li>\n<p>\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 \u043e\u0434\u043d\u0443 \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439;<\/p>\n<\/li>\n<li>\n<p>\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0442\u043e \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432;<\/p>\n<\/li>\n<li>\n<p>\u0430\u0432\u0442\u043e\u043f\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0433\u0440\u0443\u043f\u043f.<\/p>\n<\/li>\n<\/ul>\n<h2>\u041b\u043e\u0433\u0438\u043a\u0430<\/h2>\n<p>\u0412\u0441\u0435 \u043f\u0443\u043d\u043a\u0442\u044b \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u044f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u0442\u0440\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u044d\u0442\u0430\u043f\u0430:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/606\/539\/79b\/60653979beac59227b485ae4409b2d94.jpg\" alt=\"\u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b\" title=\"\u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b\" width=\"670\" height=\"328\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/606\/539\/79b\/60653979beac59227b485ae4409b2d94.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<ol>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f \u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e. \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0441 \u0446\u0435\u043b\u0435\u0432\u044b\u043c.<\/p>\n<\/li>\n<li>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438. \u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u043f\u043e \u043f\u043b\u0430\u043d\u0443 \u0432 \u0434\u0435\u043d\u044c \u0438 \u043f\u043e \u0444\u0430\u043a\u0442\u0443 \u0438\u0437 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439.<\/p>\n<\/li>\n<li>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0435\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0440\u0430\u043d\u0435\u0435 \u0444\u043e\u0442\u043e \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439. \u0411\u0435\u0440\u0435\u043c \u0438\u0437 \u043f\u043b\u0430\u043d\u0430 \u043d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c\u0430 \u0438 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0438\u0437 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0444\u043e\u0442\u043e, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438\u0441\u044c.<\/p>\n<\/li>\n<\/ol>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u044f \u043d\u0430\u0434 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c\u0438 \u0437\u0430\u0434\u0430\u043b\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c: \u00ab\u0410 \u0447\u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0444\u043e\u0442\u043e \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b?\u00bb. \u0420\u0435\u0448\u0438\u043b, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0432 \u0411\u0414, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435. <\/p>\n<p>\u041f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0440\u0438\u0433\u0433\u0435\u0440, \u0433\u0434\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0432\u0441\u0435\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0441\u0447\u0435\u0442 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0434\u0430\u0442\u0443. \u0421\u043a\u0440\u0438\u043f\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0434\u0430\u0442\u0443 \u0438 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438\u0437 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0444\u043e\u0442\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b \u043f\u043e\u0437\u0436\u0435 \u044d\u0442\u043e\u0439 \u0434\u0430\u0442\u044b, \u0442\u0430\u043a \u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043a\u0440\u0443\u0433 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439.<\/p>\n<h2>\u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h2>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/a6f\/068\/5c8\/a6f0685c827ec9c50cd3344c6f17c1a2.jpg\" alt=\"\u041e\u0431\u0449\u0430\u044f \u0441\u0445\u0435\u043c\u0430\" title=\"\u041e\u0431\u0449\u0430\u044f \u0441\u0445\u0435\u043c\u0430\" width=\"400\" height=\"408\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a6f\/068\/5c8\/a6f0685c827ec9c50cd3344c6f17c1a2.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u041e\u0431\u0449\u0430\u044f \u0441\u0445\u0435\u043c\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0441\u0445\u0435\u043c\u0443 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u043e\u0439, \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u044c\u044e \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/02f\/39d\/124\/02f39d1247651c5a61ec57c167a8cf67.jpg\" alt=\"\u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430\" title=\"\u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430\" width=\"589\" height=\"510\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/02f\/39d\/124\/02f39d1247651c5a61ec57c167a8cf67.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430<\/figcaption><\/div>\n<\/figure>\n<h2>\u041d\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/h2>\n<p>\u041e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p>&#8212; \u0434\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438;<\/p>\n<p>&#8212; \u043d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c\u0430 \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438 (\u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e \u043d\u0430\u0440\u0430\u0441\u0442\u0430\u044e\u0449\u0435\u0439);<\/p>\n<p>&#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438;<\/p>\n<p>&#8212; \u043f\u0440\u0438\u0437\u043d\u0430\u043a: \u0444\u043e\u0442\u043e \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u043e\u0435 \u0438\u043b\u0438 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/995\/ee1\/84b\/995ee184bd4c8277561b14909294bf31.JPG\" alt=\"\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0435\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043b\u0430\u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439\" title=\"\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0435\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043b\u0430\u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439\" width=\"442\" height=\"398\"\/><\/p>\n<div><figcaption>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0435\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043b\u0430\u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439<\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0430\u043b\u044c\u0431\u043e\u043c\u043e\u0432 \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/bd7\/e7a\/e23\/bd7e7ae23f1e45b7e75c9d33d234b45f.jpg\" alt=\"\u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439\" title=\"\u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439\" width=\"1367\" height=\"1186\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bd7\/e7a\/e23\/bd7e7ae23f1e45b7e75c9d33d234b45f.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439<\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c 5 \u0442\u0430\u0431\u043b\u0438\u0446 \u0434\u043b\u044f \u0411\u0414:<\/p>\n<ul>\n<li>\n<p>history_post &#8212;\u00a0 \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0441\u0442\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>line_post \u2013 \u043f\u043b\u0430\u043d \u043d\u0435\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<\/p>\n<\/li>\n<li>\n<p>out_of_line_post \u2013 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0432\u043d\u0435 \u043f\u043b\u0430\u043d\u0430<\/p>\n<\/li>\n<li>\n<p>total_photos \u2013 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435<\/p>\n<\/li>\n<li>\n<p>comment_photo \u2013 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c \u0438\u0437 \u0430\u043b\u044c\u0431\u043e\u043c\u043e\u0432<\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/3bb\/29a\/39d\/3bb29a39dabc2c3a412abf57b8040018.jpg\" alt=\"\u0422\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438\" title=\"\u0422\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438\" width=\"553\" height=\"313\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3bb\/29a\/39d\/3bb29a39dabc2c3a412abf57b8040018.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u0422\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438<\/figcaption><\/div>\n<\/figure>\n<p>\u0411\u043e\u043b\u0435\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u043d\u0438\u0436\u0435.<\/p>\n<details class=\"spoiler\">\n<summary>history_post <\/summary>\n<div class=\"spoiler__content\">\n<p>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0441\u0442\u043e\u0432.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p align=\"left\">id_push<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY, \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>id_albom<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>smallint<\/p>\n<\/td>\n<td>\n<p>\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>id_pic<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>smallint<\/p>\n<\/td>\n<td>\n<p>\u041d\u043e\u043c\u0435\u0440 (\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435) \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>comment<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>text<\/p>\n<\/td>\n<td>\n<p>\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>line<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>boolean<\/p>\n<\/td>\n<td>\n<p>\u041f\u043e\u0441\u0442 \u0438\u0437 \u043f\u043b\u0430\u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>time_push<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>timestamp with time zone<\/p>\n<\/td>\n<td>\n<p>\u0412\u0440\u0435\u043c\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>id_group<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>iinteger<\/p>\n<\/td>\n<td>\n<p>ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>union_photos<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>boolean<\/p>\n<\/td>\n<td>\n<p>\u0424\u043e\u0442\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>line_post<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u043d \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0433\u0440\u0443\u043f\u043f. \u0415\u0441\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043f\u043b\u0430\u043d\u043e\u0432, \u0442\u043e \u043d\u0435 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0434\u0430\u0442\u0443 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f. \u0410\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043b\u0430\u043d \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439 \u0434\u0430\u0442\u043e\u0439 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">id_day <\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">id_albom <\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">count_photo<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">union_photos<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">boolean <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0424\u043e\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">start_date   <\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430 \u043d\u0430\u0447\u0430\u043b\u0430 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">finish_date<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">id_row <\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY,   \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">id_group<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>out_of_line_post <\/summary>\n<div class=\"spoiler__content\">\n<p>\u041f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0432\u043d\u0435 \u043f\u043b\u0430\u043d\u0430. \u041f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0441\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u044f\u0436\u0435\u043b\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u043a \u0434\u043d\u044e \u043d\u0435\u0434\u0435\u043b\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0430\u043c\u044f\u0442\u043d\u044b\u0435 \u0434\u0430\u0442\u044b.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">id_albom <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">id_photo <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 (\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435) \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">comment <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">text<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">data <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430 \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">status<\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">boolean<\/p>\n<\/td>\n<td>\n<p align=\"left\">False \u2013 \u043d\u0435\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e,   True &#8212; \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043e \u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">id_row <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY,   \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">id_group<\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">union_photos<\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">boolean <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0424\u043e\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>total_photos<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435. \u0421\u043b\u0443\u0436\u0430\u0442 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043b\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0432\u0441\u0435\u0445 \u0444\u043e\u0442\u043e \u0438\u0437 \u0430\u043b\u044c\u0431\u043e\u043c\u0430, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u043a\u0440\u0443\u0433. \u0422\u0430\u043a \u0436\u0435 \u0435\u0441\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0430\u043b\u044c\u0431\u043e\u043c \u043d\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0441\u0447\u0435\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043d\u0442.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">id_albom <\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">count_photo<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">date<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">id_row <\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY,   \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">id_group<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">union_photos<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">boolean <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0424\u043e\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>comment_photo <\/summary>\n<div class=\"spoiler__content\">\n<p>\u0425\u0440\u0430\u043d\u0438\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">id_albom <\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">id_photo<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">date<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">id_row <\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY,   \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">id_group<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">union_photos<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">boolean <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0424\u043e\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<h2>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430<\/h2>\n<p>\u0424\u0430\u0439\u043b\u044b \u0438 \u0438\u0445 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/955\/49e\/d92\/95549ed927392b930efe94b48be58c6a.png\" width=\"182\" height=\"297\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/955\/49e\/d92\/95549ed927392b930efe94b48be58c6a.png\"\/><\/figure>\n<p>\u0441onfig.yaml \u2013 \u0444\u0430\u0439\u043b \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438. \u0411\u0414, Grafana, VK.<br \/>config_table.json \u2013 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u0442\u0430\u0431\u043b\u0438\u0446 \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0432 \u0411\u0414<br \/>main.py \u2013 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<br \/>utils.py \u2013 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430<br \/>sql_query.py \u2013 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u0431\u0430\u0437\u0435<br \/>manager_DB.py \u2013 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0431\u0430\u0437\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u0441\u0442\u0440\u043e\u043a \u0432 \u0411\u0414<br \/>GetPic.py \u2013 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<br \/>loadVkConnent.py \u2013 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VK<br \/>logi.py \u2013 \u0442\u0435\u043a\u0441\u0442\u044b \u0441 \u043b\u043e\u0433\u0430\u043c\u0438<\/p>\n<p>\u041d\u0435 \u0431\u0443\u0434\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b, <u>\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 utils.py<\/u>, \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0431\u0443\u0434\u0443\u0442 \u043d\u0430 <a href=\"https:\/\/github.com\/DmitriyBarinovTwo\/autoposting_vk\" rel=\"noopener noreferrer nofollow\">GitLab<\/a><\/p>\n<p><u>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043b\u0430\u0441\u0441 ManagerPost, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e<\/u>:<\/p>\n<p>\u2022 manager_DB \u2013 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0431\u0430\u0437\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u0441\u0442\u0440\u043e\u043a \u0432 \u0411\u0414<br \/>\u2022 GP &#8212; \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<br \/>\u2022 SqlMan &#8212; \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u0431\u0430\u0437\u0435<br \/>\u2022 VkMan &#8212; \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VK<br \/>\u2022 Log \u2013 \u043b\u043e\u0433\u0438<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<p><strong>CheckTime.<\/strong><\/p>\n<p>\u041f\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c:<\/p>\n<p>\u2022 \u0412\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043a\u043e\u043b-\u0432\u043e \u043f\u043e\u0441\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c;<br \/>\u2022 \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u0432\u0440\u0435\u043c\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043f\u043e\u0441\u0442\u0430;<br \/>\u2022 \u0427\u0435\u0440\u0435\u0437 If \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0441\u0442\u043e\u0432 \u0432 \u0434\u0435\u043d\u044c \u0438 \u043a\u0430\u043a\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043c\u0435\u0436\u0434\u0443 \u043d\u0430\u043c\u0438. \u0415\u0441\u043b\u0438 True \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u0432\u044b\u0445\u043e\u0434\u0438\u043c \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a TimeIntervalDict \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0434 \u0432\u0430\u0448\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438.<\/p>\n<pre><code class=\"python\">class ManagerPost(manager_DB,GP,SqlMan,VkMan,Log):     \"\u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0435\u0438\u044f \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u043f\u043e\u0441\u0442\u043e\u0432\"          def CheckTime (self):         \"\"\"\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c         \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043f\u043e\u0441\u0442\u043e\u0432         \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 True \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0448\u043b\u043e\"\"\"                  CountPost = str(pd.read_sql(SqlMan.CountPostDay(self), self.conn)['count'][0])         TimeIntervalDict = {'2': 13,                      '3': 6,                     '4': 5,                     }                  Today = datetime.now()                 TimePost = pd.read_sql(SqlMan.GetTimePostFromLine(self), self.conn)['time_push'][0]                 if (Today - TimePost) > timedelta(hours=TimeIntervalDict[CountPost]):             Log.TimeCorrect(self)             return          else:              Log.TimeLess(self,Today,TimePost,timedelta(hours=TimeIntervalDict[CountPost]))             sys.exit()<\/code><\/pre>\n<p><strong>GetInfoPost<\/strong><\/p>\n<p>\u2022 \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u043e\u0441\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d. \u0415\u0441\u043b\u0438 DataFrama \u043f\u0443\u0441\u0442\u043e\u0439, \u0442\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043b\u043e\u0433, \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u0441\u0435 \u043f\u043e\u0441\u0442\u044b \u0443\u0436\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b \u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442<br \/>\u2022 \u041f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 \u0430\u043b\u044c\u0431\u043e\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0441\u0435 \u0440\u0430\u043d\u0435\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0444\u043e\u0442\u043e \u0438 \u043e\u0431\u0449\u0438\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435<br \/>\u2022 \u0421\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0442\u043e + \u043a\u043e\u043b-\u0432\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0441\u0435\u0441\u0441\u0438\u0438. \u0415\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 (True), \u0447\u0435\u043c \u0444\u043e\u0442\u043e, \u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0442\u043a\u0430 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435.<br \/> \u041d\u0430 \u0432\u044b\u0445\u043e\u0434 \u0432\u044b\u043f\u043b\u0435\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u0441\u0442\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a.<\/p>\n<pre><code class=\"python\">def GetInfoPost(self):       \"\"\"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0436\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0442\u043e.       \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0444\u043e\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b, \u043e\u0431\u043d\u0443\u043b\u044f\u0435\u043c \u0432 \u0411\u0414 \u0437\u0430\u043f\u0438\u0441\u044c \u0441 \u043d\u043e\u0432\u044b\u043c        \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0444\u043e\u0442\u043e\"\"\"        InfoPost = pd.read_sql(SqlMan.GetInfoPostSQL(self), self.conn)        if InfoPost.shape[0] == 0:           Log.AllAlbomPush(self)           sys.exit()       IdAlbom = InfoPost['id_albom'][0]       IdPhotoPush = pd.read_sql(SqlMan.GetIdPic(self,  IdAlbom), self.conn)       ListPhotoPush = IdPhotoPush['id_pic'].to_list()              BoolCheck = (len(IdPhotoPush) + InfoPost['count_photo'][0]) >= InfoPost['total_photo'][0]              # \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435       if  BoolCheck == True:           Date = datetime.now(timezone.utc)             if InfoPost['union_photos'][0] == False:               AlbomDir = Path(self.WithoutUnion, str(IdAlbom))               CountPhotoFromAlbom = len([name for name in os.listdir(AlbomDir) if os.path.isfile(os.path.join(AlbomDir, name))])           else:               AlbomDir = Path(self.WithUnion, str(IdAlbom))               CountPhotoFromAlbom = len(set([filename.split('-')[0] for filename in os.listdir(AlbomDir)]))                           LoadConnent = [[IdAlbom, CountPhotoFromAlbom, 'TIMESTAMP WITH TIME ZONE ', self.IdGroupQuery ,InfoPost['union_photos'][0]]]            mananger_DB.UploadRowDB(self,self.ConfigTable['total_photos'],LoadConnent, Date)             Log.NewCountPhoto(self,IdAlbom,CountPhotoFromAlbom)           ListPhotoPush = []        return InfoPost, ListPhotoPush<\/code><\/pre>\n<p><strong>GetComment<\/strong> <\/p>\n<p>\u2022 \u041f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 \u0430\u043b\u044c\u0431\u043e\u043c\u0430 \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438 \u0438\u0437 \u0411\u0414, \u0435\u0441\u043b\u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c NULL;<br \/>\u2022 \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0440\u0430\u043d\u0435\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043a \u0444\u043e\u0442\u043e;<br \/>\u2022 \u0414\u0430\u043b\u0435\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u043c \u0434\u0432\u0430 df \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0441\u044f \u0440\u0435\u0436\u0435 \u0432\u0441\u0435\u0445.<\/p>\n<pre><code class=\"python\">def GetCommment(self, InfoPost, BoxNewPic):     \"\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0430\u0442\u0440\u0438\u0439 \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438\"      try:         CommentDf = pd.DataFrame(\\                 pd.read_sql(SqlMan.GetIdCom(self,InfoPost, BoxNewPic, True), self.conn)['comment'][0].split(';'),\\                 columns=['comment'])     except IndexError:         comment = 'NULL'         return  comment          # \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438     CommentHistory = pd.read_sql(SqlMan.GetIdCom(self,InfoPost, BoxNewPic, False), self.conn)       # \u0441\u0447\u0438\u0442\u0430\u0435\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438     CommentBox = CommentDf.merge(CommentHistory, on='comment', how='left').fillna(0).sort_values(by='count').reset_index(drop=True)     Log.CommentPhoto(self, CommentBox)      return  CommentBox['comment'][0]<\/code><\/pre>\n<p><strong>CommitPost<\/strong><\/p>\n<p>\u042d\u0442\u0430 \u0441\u0431\u043e\u0440\u043a\u0430 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430. \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0438 \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u0435\u0435 \u043d\u0430\u0434\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0438 \u0440\u0430\u0437\u0431\u0438\u0442\u044c \u043d\u0430 2-3 \u0431\u043e\u043b\u0435\u0435 \u043c\u0435\u043b\u043a\u0438\u0445. \u041d\u043e \u0440\u0430\u0437 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0442\u044c. \u041f\u0440\u043e\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u044e \u0435\u0435 \u043f\u043e \u0447\u0430\u0441\u0442\u044f\u043c.<br \/> \u2022 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438;<br \/> \u2022 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0435\u0441\u043b\u0438 \u043b\u0438 \u0443 \u043d\u0430\u0441 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432\u043d\u0435 \u043f\u043b\u0430\u043d\u0430;<br \/> \u2022 \u0435\u0441\u043b\u0438 True, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f \u0434\u0430\u0442. \u0412\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0444\u043e\u0442\u043e \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e;<br \/> \u2022 \u0435\u0441\u043b\u0438 False, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0444\u043e\u0442\u043e \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0438\u0437 \u043f\u043b\u0430\u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439;<\/p>\n<pre><code class=\"python\">def CommitPost(self):              # \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u043e\u0432\u044b\u0435 \u043f\u043e\u0441\u0442\u044b \u0438 \u0432\u0440\u0435\u043c\u044f     ManagerPost.CheckTime(self)      InfoPost = pd.read_sql(SqlMan.GetNewLinePost(self), self.conn)     today = datetime.now()          # \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0435\u0441\u043b\u0438 \u043d\u043e\u0432\u0430\u044f \u0444\u043e\u0442\u043e     if InfoPost[InfoPost['date']==today.date()].shape[0] != 0:          Line = False         if InfoPost['comment'][0] != None:             Comment = f\"{InfoPost['comment'][0]}\"         else:             Comment = 'NULL'                  if InfoPost['union_photos'][0] == True:             NewIdPic, BoxNewPic, DirAlbom = GP.GetPicUnionTrue(self,InfoPost,[], True)         else:             BoxNewPic, DirAlbom = GP.GetPicUnionFalse(self,InfoPost,[],True)                  self.cursor.execute(SqlMan.ChahgeStatusNewPost(self))         self.conn.commit()      else:         # \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0435\u0441\u043b\u0438 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043b\u0438\u043d\u0438\u0438         Log.NewPostNotExist(self)         InfoPost, IdPhotoPush = ManagerPost.GetInfoPost(self)         Line = True          if InfoPost['union_photos'][0] == True:             NewIdPic, BoxNewPic, DirAlbom = GP.GetPicUnionTrue(self,InfoPost,IdPhotoPush)         else:             BoxNewPic, DirAlbom = GP.GetPicUnionFalse(self,InfoPost,IdPhotoPush)                  # \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u043e\u043c\u0435\u0440 \u0444\u043e\u0442\u043e \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442         Log.CommentPhoto(self, BoxNewPic)         Comment = ManagerPost.GetCommment(self,InfoPost, BoxNewPic[0])<\/code><\/pre>\n<p>\u2022 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u0442\u0438\u043d\u0433\u0430 \u0432 vk;<br \/>\u2022 \u0434\u0430\u043b\u0435\u0435 \u0433\u0440\u0443\u0437\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0411\u0414. \u0420\u0430\u0437\u0432\u0438\u043b\u043a\u0430 \u043f\u043e \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0443 \u0432 \u043f\u043e\u043b\u0435 InfoPost[&#8216;union_photos&#8217;]  (\u0444\u043e\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445);<br \/> \u2022 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0431\u0430\u0437\u043e\u0439;<\/p>\n<pre><code class=\"python\"># \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0432\u0440\u0435\u043c\u044f minute = randint(5, 59) Date = datetime(today.year, today.month, today.day, today.hour, minute)  BoxWithPath = []  # \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432 \u0411\u0414 (history_post) if InfoPost['union_photos'][0] == False:     for i in range(len(BoxNewPic)):         LoadConnent = [         [InfoPost['id_albom'][0],          BoxNewPic[i],         Comment.strip(),         Line,          'TIMESTAMP WITH TIME ZONE ',         self.GroupIdForDB,         InfoPost['union_photos'][0]]         ]         manager_DB.UploadRowDB(self, self.ConfigTable['history_post'],LoadConnent, Date)         Log.PostUploudDB(self)         BoxWithPath.append(DirAlbom + str('\\\\') + str(BoxNewPic[i]) + str('.jpg')) else:         LoadConnent = [         [InfoPost['id_albom'][0],          NewIdPic,         Comment.strip(),         Line,          'TIMESTAMP WITH TIME ZONE ',         self.GroupIdForDB,         InfoPost['union_photos'][0]]         ]              manager_DB.UploadRowDB(self, self.ConfigTable['history_post'],LoadConnent, Date)         Log.PostUploudDB(self)          for i in range(len(BoxNewPic)):             BoxWithPath.append(DirAlbom + str('\\\\') + str(BoxNewPic[i]) + str('.jpg'))  manager_DB.CoonClose(self) Log.InfoPostLog(self,InfoPost['id_albom'][0],BoxNewPic,Comment,Date)         <\/code><\/pre>\n<p>\u2022 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u0434\u0430\u0442\u0443 \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432 VK;<br \/>\u2022 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0444\u043e\u0442\u043e \u0432 VK \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u043d\u0430 \u0442\u0430\u0439\u043c\u0435\u0440;<br \/>\u2022 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043b\u043e\u0433 \u0441 \u0434\u0435\u0442\u0430\u043b\u044f\u043c\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"python\">unixtime = time.mktime(Date.timetuple()) VkMan.LoadVk\u0421ontent(self,BoxWithPath,unixtime,Comment) Log.PostUploudVK(self)  return <\/code><\/pre>\n<h2>\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c<\/h2>\n<p>\u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043d\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f \u0435\u0449\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b \u0411\u0414, Grafana Loki, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u043a\u043e\u0434 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u044f \u043d\u0430\u043f\u0438\u0448\u0443 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435.<\/p>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h2>\n<p>\u0426\u0435\u043b\u044c \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u0430 \u043f\u043e\u0441\u0442\u044b \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u044b\u0432\u0430\u044e\u0442\u0441\u044f.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/8e0\/c09\/955\/8e0c099554d3e293c89b10bb0b8b6cd1.JPG\" width=\"345\" height=\"396\"\/><\/figure>\n<p>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b23\/0d2\/fc4\/b230d2fc400a0cb5059eec6c32ef5fdf.JPG\" alt=\"\u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439\" title=\"\u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439\" width=\"1140\" height=\"423\"\/><\/p>\n<div><figcaption>\u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439<\/figcaption><\/div>\n<\/figure>\n<h2>\u0427\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c?<\/h2>\n<p>\u00ab\u0423\u043c\u043d\u044b\u0435 \u043c\u044b\u0441\u043b\u0438 \u0447\u0430\u0441\u0442\u043e \u043f\u0440\u0435\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b\u0438 \u0435\u0433\u043e, \u043d\u043e \u043e\u043d \u0431\u044b\u043b \u0431\u044b\u0441\u0442\u0440\u0435\u0435\u00bb. \u041a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0438 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e, \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:<\/p>\n<ul>\n<li>\n<p><u>\u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0441 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u043e\u0431\u043b\u0430\u043a\u0435<\/u>;<\/p>\n<\/li>\n<\/ul>\n<p>\u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0443\u0436\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c\/\u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0438\u0445 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u044d\u0442\u043e \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e.<\/p>\n<ul>\n<li>\n<p><u>\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0432\u044b\u0433\u0440\u0443\u0437\u043a\u0438 \u0438\u0437 \u0411\u0414 \u043f\u043b\u0430\u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e;<\/u><\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u043b \u0441\u043a\u0440\u0438\u043f\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u0442\u0443\u0434\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u043d\u0435\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0442\u043e\u0447\u0435\u0447\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0447\u0435\u0440\u0435\u0437 pgAdmin \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0432\u0448\u0438\u0441\u044c \u043a \u0431\u0430\u0437\u0435 postgres. \u041a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u0438\u043b\u0438 \u0441\u043e\u0442\u043d\u0438 \u0441\u0442\u0440\u043e\u043a, \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0431\u044b \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u043b\u0430\u0441\u044c.<\/p>\n<ul>\n<li>\n<p><u>\u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0448\u0438\u0431\u043a\u0438<\/u>;<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u0441\u0435 \u043b\u043e\u0433\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u0430 Grafana Loki, \u043f\u0440\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u043e\u0447\u0442\u0443 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0448\u0438\u0431\u043a\u0438.<\/p>\n<ul>\n<li>\n<p><u>\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u0445 \u0432 VK;<\/u><\/p>\n<\/li>\n<\/ul>\n<p>\u0417\u0430 \u0432\u0441\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u0434\u0435\u043b\u044c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f 1-2 \u0440\u0430\u0437\u0430 \u043e\u0442\u043b\u0435\u0442\u0430\u043b api vk \u0438\u043b\u0438 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u043b \u0441\u0431\u043e\u0439 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a. \u0412 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u0411\u0414 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u043a\u0430, \u0447\u0442\u043e \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043f\u0440\u043e\u0448\u043b\u0430 \u0443\u0441\u043f\u0435\u0448\u043d\u043e, \u0430 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043e\u0448\u0438\u0431\u043a\u0430. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u044d\u0442\u0443 \u043e\u0448\u0438\u0431\u043a\u0443 \u0438 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u0411\u0414.<\/p>\n<ul>\n<li>\n<p><u>\u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439.<\/u><\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c jpg \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u044b\u0434\u0430\u0441\u0442 \u043e\u0448\u0438\u0431\u043a\u0443. \u041c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u043c. \u0423 \u043c\u0435\u043d\u044f \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438 \u043d\u0435\u0442, \u043d\u043e \u0434\u0443\u043c\u0430\u044e \u043e\u043d\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043b\u0438\u0448\u043d\u0438\u0439.<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0446\u0435\u043b\u044c \u0430\u0432\u0442\u043e\u043f\u043e\u0441\u0442\u0438\u043d\u0433\u0430 \u0434\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442\u0430. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043c\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443-\u0442\u043e \u0432\u044b\u0441\u0432\u043e\u0431\u043e\u0434\u0438\u0442\u044c \u0441\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0439 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0435\u0441\u0442\u044c api \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u0432 \u043a\u043e\u0434 \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u043d\u0443\u0436\u043d\u044b. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0438\u0434\u0435\u0438, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0438\u043b\u0438 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445. <\/p>\n<p>\u041a\u043e\u0434 \u043d\u0430 <a href=\"https:\/\/github.com\/DmitriyBarinovTwo\/autoposting_vk\" rel=\"noopener noreferrer nofollow\">GitHub<\/a><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p> <!----> <!----><\/div>\n<p> <!----> <!----><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\/articles\/746838\/\"> https:\/\/habr.com\/ru\/articles\/746838\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>\u0412\u0432\u043e\u0434\u043d\u0430\u044f<\/h2>\n<p>\u041f\u0440\u0438\u0432\u0435\u0442. \u0423 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0433\u0440\u0443\u043f\u043f \u0432 \u0412\u041a, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u0442\u044b. \u0412 \u0446\u0435\u043b\u043e\u043c \u043c\u043e\u0435 \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0440\u0430\u0437\u043e\u0439 \u00ab\u0410 \u043a\u043e\u0433\u0434\u0430 \u043c\u043d\u0435 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u044f \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0435 \u0445\u043e\u0447\u0443\u00bb. \u041c\u043e\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e \u043b\u0435\u043d\u044c. <\/p>\n<p>\u042f \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0441\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c, \u043d\u043e \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u0431\u0440\u043e\u0441\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u0442\u044b. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u043e\u043d\u0443\u0441 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u043f\u044b\u0442\u0430 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<\/p>\n<h2>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h2>\n<p>\u041a\u043e\u043d\u0442\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u044d\u0442\u043e \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u043e\u0442\u043e \u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u043c\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438. \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0441\u0435 \u0440\u0430\u0437\u043b\u043e\u0436\u0435\u043d\u043e \u043f\u043e \u043f\u0430\u043f\u043a\u0430\u043c. \u0410\u043b\u044c\u0431\u043e\u043c\u044b \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0438\u043c\u0435\u044e\u0442 \u0441\u0432\u043e\u0438 \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0435 \u043d\u043e\u043c\u0435\u0440\u0430.<\/p>\n<p>\u0427\u0442\u043e \u0432\u0430\u0436\u043d\u043e \u043e\u0442\u0440\u0430\u0437\u0438\u0442\u044c \u0432 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0435:<\/p>\n<ul>\n<li>\n<p>\u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u043f\u043e\u0441\u0442\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b; <\/p>\n<\/li>\n<li>\n<p>\u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043d\u0435\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438 \u043a \u043f\u043e\u0441\u0442\u0430\u043c;<\/p>\n<\/li>\n<li>\n<p>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u0442 \u0431\u0435\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u0438;<\/p>\n<\/li>\n<li>\n<p>\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 \u043e\u0434\u043d\u0443 \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439;<\/p>\n<\/li>\n<li>\n<p>\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0442\u043e \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432;<\/p>\n<\/li>\n<li>\n<p>\u0430\u0432\u0442\u043e\u043f\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0433\u0440\u0443\u043f\u043f.<\/p>\n<\/li>\n<\/ul>\n<h2>\u041b\u043e\u0433\u0438\u043a\u0430<\/h2>\n<p>\u0412\u0441\u0435 \u043f\u0443\u043d\u043a\u0442\u044b \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u044f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u0442\u0440\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u044d\u0442\u0430\u043f\u0430:<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b<\/figcaption><\/div>\n<\/figure>\n<ol>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f \u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e. \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0441 \u0446\u0435\u043b\u0435\u0432\u044b\u043c.<\/p>\n<\/li>\n<li>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438. \u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u043f\u043e \u043f\u043b\u0430\u043d\u0443 \u0432 \u0434\u0435\u043d\u044c \u0438 \u043f\u043e \u0444\u0430\u043a\u0442\u0443 \u0438\u0437 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439.<\/p>\n<\/li>\n<li>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0435\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0440\u0430\u043d\u0435\u0435 \u0444\u043e\u0442\u043e \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439. \u0411\u0435\u0440\u0435\u043c \u0438\u0437 \u043f\u043b\u0430\u043d\u0430 \u043d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c\u0430 \u0438 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0438\u0437 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0444\u043e\u0442\u043e, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0438\u0441\u044c.<\/p>\n<\/li>\n<\/ol>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u044f \u043d\u0430\u0434 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c\u0438 \u0437\u0430\u0434\u0430\u043b\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c: \u00ab\u0410 \u0447\u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0444\u043e\u0442\u043e \u0431\u0443\u0434\u0443\u0442 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b?\u00bb. \u0420\u0435\u0448\u0438\u043b, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0432 \u0411\u0414, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435. <\/p>\n<p>\u041f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0440\u0438\u0433\u0433\u0435\u0440, \u0433\u0434\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0432\u0441\u0435\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0441\u0447\u0435\u0442 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0434\u0430\u0442\u0443. \u0421\u043a\u0440\u0438\u043f\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0434\u0430\u0442\u0443 \u0438 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438\u0437 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0444\u043e\u0442\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b \u043f\u043e\u0437\u0436\u0435 \u044d\u0442\u043e\u0439 \u0434\u0430\u0442\u044b, \u0442\u0430\u043a \u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043a\u0440\u0443\u0433 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439.<\/p>\n<h2>\u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h2>\n<figure class=\"\">\n<div><figcaption>\u041e\u0431\u0449\u0430\u044f \u0441\u0445\u0435\u043c\u0430<\/figcaption><\/div>\n<\/figure>\n<p>\u0415\u0441\u043b\u0438 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0441\u0445\u0435\u043c\u0443 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u043e\u0439, \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u044c\u044e \u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f:<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430<\/figcaption><\/div>\n<\/figure>\n<h2>\u041d\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/h2>\n<p>\u041e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p>&#8212; \u0434\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438;<\/p>\n<p>&#8212; \u043d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c\u0430 \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438 (\u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e \u043d\u0430\u0440\u0430\u0441\u0442\u0430\u044e\u0449\u0435\u0439);<\/p>\n<p>&#8212; \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438;<\/p>\n<p>&#8212; \u043f\u0440\u0438\u0437\u043d\u0430\u043a: \u0444\u043e\u0442\u043e \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u043e\u0435 \u0438\u043b\u0438 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u044b \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n<figure class=\"\">\n<div><figcaption>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0435\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043b\u0430\u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439<\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0430\u043b\u044c\u0431\u043e\u043c\u043e\u0432 \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438:<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439<\/figcaption><\/div>\n<\/figure>\n<p>\u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c 5 \u0442\u0430\u0431\u043b\u0438\u0446 \u0434\u043b\u044f \u0411\u0414:<\/p>\n<ul>\n<li>\n<p>history_post &#8212;\u00a0 \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0441\u0442\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>line_post \u2013 \u043f\u043b\u0430\u043d \u043d\u0435\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<\/p>\n<\/li>\n<li>\n<p>out_of_line_post \u2013 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0432\u043d\u0435 \u043f\u043b\u0430\u043d\u0430<\/p>\n<\/li>\n<li>\n<p>total_photos \u2013 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435<\/p>\n<\/li>\n<li>\n<p>comment_photo \u2013 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c \u0438\u0437 \u0430\u043b\u044c\u0431\u043e\u043c\u043e\u0432<\/p>\n<\/li>\n<\/ul>\n<figure class=\"full-width\">\n<div><figcaption>\u0422\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0430\u043c\u0438<\/figcaption><\/div>\n<\/figure>\n<p>\u0411\u043e\u043b\u0435\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u043d\u0438\u0436\u0435.<\/p>\n<details class=\"spoiler\">\n<summary>history_post <\/summary>\n<div class=\"spoiler__content\">\n<p>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0441\u0442\u043e\u0432.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p align=\"left\">id_push<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY, \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>id_albom<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>smallint<\/p>\n<\/td>\n<td>\n<p>\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>id_pic<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>smallint<\/p>\n<\/td>\n<td>\n<p>\u041d\u043e\u043c\u0435\u0440 (\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435) \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>comment<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>text<\/p>\n<\/td>\n<td>\n<p>\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>line<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>boolean<\/p>\n<\/td>\n<td>\n<p>\u041f\u043e\u0441\u0442 \u0438\u0437 \u043f\u043b\u0430\u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>time_push<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>timestamp with time zone<\/p>\n<\/td>\n<td>\n<p>\u0412\u0440\u0435\u043c\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>id_group<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>iinteger<\/p>\n<\/td>\n<td>\n<p>ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"121\" width=\"121\">\n<p>union_photos<\/p>\n<\/td>\n<td data-colwidth=\"205\" width=\"205\">\n<p>boolean<\/p>\n<\/td>\n<td>\n<p>\u0424\u043e\u0442\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>line_post<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u043d \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0433\u0440\u0443\u043f\u043f. \u0415\u0441\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043f\u043b\u0430\u043d\u043e\u0432, \u0442\u043e \u043d\u0435 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043b\u0430\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0434\u0430\u0442\u0443 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f. \u0410\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u043b\u0430\u043d \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439 \u0434\u0430\u0442\u043e\u0439 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">id_day <\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0435\u043d\u044c \u043d\u0435\u0434\u0435\u043b\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">id_albom <\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">count_photo<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">union_photos<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">boolean <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0424\u043e\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">start_date   <\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430 \u043d\u0430\u0447\u0430\u043b\u0430 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">finish_date<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">id_row <\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY,   \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"130\" width=\"130\">\n<p align=\"left\">id_group<\/p>\n<\/td>\n<td data-colwidth=\"212\" width=\"212\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>out_of_line_post <\/summary>\n<div class=\"spoiler__content\">\n<p>\u041f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e \u0432\u043d\u0435 \u043f\u043b\u0430\u043d\u0430. \u041f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0441\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u044f\u0436\u0435\u043b\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u043a \u0434\u043d\u044e \u043d\u0435\u0434\u0435\u043b\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0430\u043c\u044f\u0442\u043d\u044b\u0435 \u0434\u0430\u0442\u044b.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">id_albom <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">id_photo <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 (\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435) \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">comment <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">text<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">data <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430 \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">status<\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">boolean<\/p>\n<\/td>\n<td>\n<p align=\"left\">False \u2013 \u043d\u0435\u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u043e,   True &#8212; \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043e \u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">id_row <\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY,   \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">id_group<\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"120\" width=\"120\">\n<p align=\"left\">union_photos<\/p>\n<\/td>\n<td data-colwidth=\"201\" width=\"201\">\n<p align=\"left\">boolean <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0424\u043e\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>total_photos<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435. \u0421\u043b\u0443\u0436\u0430\u0442 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043b\u0435 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 \u0432\u0441\u0435\u0445 \u0444\u043e\u0442\u043e \u0438\u0437 \u0430\u043b\u044c\u0431\u043e\u043c\u0430, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u043a\u0440\u0443\u0433. \u0422\u0430\u043a \u0436\u0435 \u0435\u0441\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0430\u043b\u044c\u0431\u043e\u043c \u043d\u043e\u0432\u044b\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0441\u0447\u0435\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043d\u0442.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">id_albom <\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">count_photo<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">date<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">id_row <\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY,   \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">id_group<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"137\" width=\"137\">\n<p align=\"left\">union_photos<\/p>\n<\/td>\n<td data-colwidth=\"213\" width=\"213\">\n<p align=\"left\">boolean <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0424\u043e\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>comment_photo <\/summary>\n<div class=\"spoiler__content\">\n<p>\u0425\u0440\u0430\u043d\u0438\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"center\">\u0421\u0442\u043e\u043b\u0431\u0435\u0446<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"center\">\u0422\u0438\u043f<\/p>\n<\/td>\n<td>\n<p align=\"center\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">id_albom <\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u043e\u043c\u0435\u0440 \u0430\u043b\u044c\u0431\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">id_photo<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">date<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">timestamp   with time zone<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0414\u0430\u0442\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">id_row <\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">smallint<\/p>\n<\/td>\n<td>\n<p align=\"left\">PRIMARY KEY,   \u043f\u043e\u0440\u044f\u0434\u043a\u043e\u0432\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">id_group<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">integer<\/p>\n<\/td>\n<td>\n<p align=\"left\">ID \u0433\u0440\u0443\u043f\u043f\u044b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"127\" width=\"127\">\n<p align=\"left\">union_photos<\/p>\n<\/td>\n<td data-colwidth=\"211\" width=\"211\">\n<p align=\"left\">boolean <\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0424\u043e\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/details>\n<h2>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430<\/h2>\n<p>\u0424\u0430\u0439\u043b\u044b \u0438 \u0438\u0445 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/p>\n<figure class=\"\"><\/figure>\n<p>\u0441onfig.yaml \u2013 \u0444\u0430\u0439\u043b \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438. \u0411\u0414, Grafana, VK.<br \/>config_table.json \u2013 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u0442\u0430\u0431\u043b\u0438\u0446 \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0432 \u0411\u0414<br \/>main.py \u2013 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<br \/>utils.py \u2013 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430<br \/>sql_query.py \u2013 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u0431\u0430\u0437\u0435<br \/>manager_DB.py \u2013 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0431\u0430\u0437\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u0441\u0442\u0440\u043e\u043a \u0432 \u0411\u0414<br \/>GetPic.py \u2013 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<br \/>loadVkConnent.py \u2013 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VK<br \/>logi.py \u2013 \u0442\u0435\u043a\u0441\u0442\u044b \u0441 \u043b\u043e\u0433\u0430\u043c\u0438<\/p>\n<p>\u041d\u0435 \u0431\u0443\u0434\u0443 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b, <u>\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 utils.py<\/u>, \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0431\u0443\u0434\u0443\u0442 \u043d\u0430 <a href=\"https:\/\/github.com\/DmitriyBarinovTwo\/autoposting_vk\" rel=\"noopener noreferrer nofollow\">GitLab<\/a><\/p>\n<p><u>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043b\u0430\u0441\u0441 ManagerPost, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e<\/u>:<\/p>\n<p>\u2022 manager_DB \u2013 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0431\u0430\u0437\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u0441\u0442\u0440\u043e\u043a \u0432 \u0411\u0414<br \/>\u2022 GP &#8212; \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438<br \/>\u2022 SqlMan &#8212; \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u0431\u0430\u0437\u0435<br \/>\u2022 VkMan &#8212; \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VK<br \/>\u2022 Log \u2013 \u043b\u043e\u0433\u0438<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<p><strong>CheckTime.<\/strong><\/p>\n<p>\u041f\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c:<\/p>\n<p>\u2022 \u0412\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043a\u043e\u043b-\u0432\u043e \u043f\u043e\u0441\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c;<br \/>\u2022 \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u0432\u0440\u0435\u043c\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043f\u043e\u0441\u0442\u0430;<br \/>\u2022 \u0427\u0435\u0440\u0435\u0437 If \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u0441\u0442\u043e\u0432 \u0432 \u0434\u0435\u043d\u044c \u0438 \u043a\u0430\u043a\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043c\u0435\u0436\u0434\u0443 \u043d\u0430\u043c\u0438. \u0415\u0441\u043b\u0438 True \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u0432\u044b\u0445\u043e\u0434\u0438\u043c \u0438\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a TimeIntervalDict \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0434 \u0432\u0430\u0448\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438.<\/p>\n<pre><code class=\"python\">class ManagerPost(manager_DB,GP,SqlMan,VkMan,Log):     \"\u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0435\u0438\u044f \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u043f\u043e\u0441\u0442\u043e\u0432\"          def CheckTime (self):         \"\"\"\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c         \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u043f\u043e\u0441\u0442\u043e\u0432         \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 True \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0448\u043b\u043e\"\"\"                  CountPost = str(pd.read_sql(SqlMan.CountPostDay(self), self.conn)['count'][0])         TimeIntervalDict = {'2': 13,                      '3': 6,                     '4': 5,                     }                  Today = datetime.now()                 TimePost = pd.read_sql(SqlMan.GetTimePostFromLine(self), self.conn)['time_push'][0]                 if (Today - TimePost) > timedelta(hours=TimeIntervalDict[CountPost]):             Log.TimeCorrect(self)             return          else:              Log.TimeLess(self,Today,TimePost,timedelta(hours=TimeIntervalDict[CountPost]))             sys.exit()<\/code><\/pre>\n<p><strong>GetInfoPost<\/strong><\/p>\n<p>\u2022 \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u043e\u0441\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d. \u0415\u0441\u043b\u0438 DataFrama \u043f\u0443\u0441\u0442\u043e\u0439, \u0442\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043b\u043e\u0433, \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u0441\u0435 \u043f\u043e\u0441\u0442\u044b \u0443\u0436\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b \u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442<br \/>\u2022 \u041f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 \u0430\u043b\u044c\u0431\u043e\u043c\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0441\u0435 \u0440\u0430\u043d\u0435\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0444\u043e\u0442\u043e \u0438 \u043e\u0431\u0449\u0438\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435<br \/>\u2022 \u0421\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0442\u043e + \u043a\u043e\u043b-\u0432\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0441\u0435\u0441\u0441\u0438\u0438. \u0415\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 (True), \u0447\u0435\u043c \u0444\u043e\u0442\u043e, \u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0432\u0435\u0442\u043a\u0430 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0444\u043e\u0442\u043e \u0432 \u0430\u043b\u044c\u0431\u043e\u043c\u0435.<br \/> \u041d\u0430 \u0432\u044b\u0445\u043e\u0434 \u0432\u044b\u043f\u043b\u0435\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u0441\u0442\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a.<\/p>\n<pre><code class=\"python\">def GetInfoPost(self):       \"\"\"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0436\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0442\u043e.       \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0444\u043e\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u044b, \u043e\u0431\u043d\u0443\u043b\u044f\u0435\u043c \u0432 \u0411\u0414 \u0437\u0430\u043f\u0438\u0441\u044c \u0441 \u043d\u043e\u0432\u044b\u043c        \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0444\u043e\u0442\u043e\"\"\"        InfoPost = pd.read_sql(SqlMan.GetInfoPostSQL(self), self.conn)        if InfoPost.shape[0] == 0:           Log.AllAlbomPush(self)           sys.exit()       IdAlbom = InfoPost['id_albom'][0]       IdPhotoPush = pd.read_sql(SqlMan.GetIdPic(self,  IdAlbom), self.conn)       ListPhotoPush = IdPhotoPush['id_pic'].to_list()              BoolCheck = (len(IdPhotoPush) + InfoPost['count_photo'][0]) >= InfoPost['total_photo'][0]              # \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0442\u043e \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435       if  BoolCheck == True:           Date = datetime.now(timezone.utc)             if InfoPost['union_photos'][0] == False:               AlbomDir = Path(self.WithoutUnion, str(IdAlbom))               CountPhotoFromAlbom = len([name for name in os.listdir(AlbomDir) if os.path.isfile(os.path.join(AlbomDir, name))])           else:               AlbomDir = Path(self.WithUnion, str(IdAlbom))               CountPhotoFromAlbom = len(set([filename.split('-')[0] for filename in os.listdir(AlbomDir)]))                           LoadConnent = [[IdAlbom, CountPhotoFromAlbom, 'TIMESTAMP WITH TIME ZONE ', self.IdGroupQuery ,InfoPost['union_photos'][0]]]            mananger_DB.UploadRowDB(self,self.ConfigTable['total_photos'],LoadConnent, Date)             Log.NewCountPhoto(self,IdAlbom,CountPhotoFromAlbom)           ListPhotoPush = []        return InfoPost, ListPhotoPush<\/code><\/pre>\n<p><strong>GetComment<\/strong> <\/p>\n<p>\u2022 \u041f\u043e \u043d\u043e\u043c\u0435\u0440\u0443 \u0430\u043b\u044c\u0431\u043e\u043c\u0430 \u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438 \u0438\u0437 \u0411\u0414, \u0435\u0441\u043b\u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c NULL;<br \/>\u2022 \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0440\u0430\u043d\u0435\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043a \u0444\u043e\u0442\u043e;<br \/>\u2022 \u0414\u0430\u043b\u0435\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u043c \u0434\u0432\u0430 df \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0441\u044f \u0440\u0435\u0436\u0435 \u0432\u0441\u0435\u0445.<\/p>\n<pre><code class=\"python\">def GetCommment(self, InfoPost, BoxNewPic):     \"\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u043a\u043e\u043c\u043c\u0435\u043d\u0430\u0442\u0440\u0438\u0439 \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438\"      try:         CommentDf = pd.DataFrame(\\                 pd.read_sql(SqlMan.GetIdCom(self,InfoPost, BoxNewPic, True), self.conn)['comment'][0].split(';'),\\                 columns=['comment'])     except IndexError:      <\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-350005","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/350005","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=350005"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/350005\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=350005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=350005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=350005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}