{"id":315811,"date":"2020-12-30T15:00:54","date_gmt":"2020-12-30T15:00:54","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=315811"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=315811","title":{"rendered":"\u0412\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 Instagram"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/1e8\/234\/b1e\/1e8234b1e40c8676d49b2e15a4ae8006.JPG\" width=\"3000\" height=\"2000\"><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0430\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043d\u0430 python \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0438\u0437 \u0438\u043d\u0441\u0442\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0435\u0441\u044f \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435.<\/p>\n<hr>\n<h3>Intro<\/h3>\n<p>\u041f\u0440\u0438 \u0444\u0430\u0437\u043e\u0432\u043e\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u0438\u0437 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f Employed \u0432 Self-Employed \u044f \u043f\u043e\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0430\u0432\u043d\u043e \u0445\u043e\u0442\u0435\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u041f\u043e\u0441\u043b\u0435 \u043f\u0430\u0440\u043e\u0447\u043a\u0438 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c \u0431\u043e\u0442\u043e\u0432 \u0441 e-acquiring \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c \u0441\u0447\u0430\u0441\u0442\u044c\u044f \u0441 Instagram. \u041a\u0430\u043a \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443, \u043f\u0440\u0435\u0436\u0434\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0432\u0448\u0435\u043c\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u0438 \u043f\u043e\u0434\u0447\u0438\u0449\u0435\u043d\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c \u0434\u043e\u0431\u044b\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0431\u043b\u0438\u0436\u0435. <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043b\u0435\u043d\u044c \u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0441\u0451, \u0442\u043e \u0432\u043e\u0442 <a href=\"https:\/\/t.me\/InstRequestsBot\" rel=\"noopener noreferrer nofollow\">\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0431\u043e\u0442<\/a> \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 Instargam. <\/p>\n<details class=\"spoiler\">\n<summary>\u0427\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u043e\u0442?<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0431\u043e\u0442 \u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432<\/p>\n<ul>\n<li>\n<p> \u0421\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0430 \/ \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 <\/p>\n<\/li>\n<li>\n<p> \u0421\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \/ \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043b\u0430\u0439\u043a \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c<\/p>\n<\/li>\n<li>\n<p>\u0421\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0442\u043e\u0440\u0430 \/ \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0442\u043e\u0440\u043e\u0432, \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c<\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u0449\u0438\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0438 \u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439<\/p>\n<\/li>\n<li>\n<p><em>user-info JSON<\/em> (\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435 Instagram \u0432 \u0442\u043e\u043c \u0432\u0438\u0434\u0435 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d\u0430 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445)<\/p>\n<\/li>\n<li>\n<p><em>media-info JSON<\/em> (\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u0443\u0431\u043b\u0438\u0446\u0430\u0446\u0438\u0438 \u0432 Instagram \u0432 \u0442\u043e\u043c \u0432\u0438\u0434\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d\u0430 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445)<\/p>\n<\/li>\n<\/ul>\n<p>P.S. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u043e\u043d \u043d\u0435 \u0443\u043f\u0430\u0434\u0435\u0442 \u043f\u043e\u0434 \u043d\u0430\u0442\u0438\u0441\u043a\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432<\/p>\n<p>P.P.S \u0418 \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u0432 \u0438\u043d\u0441\u0442\u0435, \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0435 \u0437\u0430\u0431\u043b\u043e\u0447\u0430\u0442 <\/p>\n<\/div>\n<\/details>\n<h3>Inspiration<\/h3>\n<p>\u0412\u043e \u043c\u043d\u043e\u0433\u043e\u043c \u043c\u0435\u043d\u044f \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0430 <a href=\"https:\/\/vc.ru\/social\/183716-gde-chashche-fotografiruyutsya-v-moskve-haker-otvechaet\" rel=\"noopener noreferrer nofollow\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a>, \u0433\u0434\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0441\u0430\u043c\u044b\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0433\u0435\u043e\u0442\u0435\u0433\u0438 \u041c\u043e\u0441\u043a\u0432\u044b, \u0438 <a href=\"https:\/\/t.me\/danokhlopkov\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c \u043a\u0430\u043d\u0430\u043b<\/a> \u0435\u0451 \u0430\u0432\u0442\u043e\u0440\u0430. \u041c\u043d\u0435 \u0441\u0442\u0430\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0430 \u043a\u0430\u043a \u0432\u043e\u043e\u0431\u0449\u0435 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u0435\u0439.<\/p>\n<h3>\u041a\u0430\u043a\u043e\u0435 API \u0432\u044b\u0431\u0440\u0430\u0442\u044c?<\/h3>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u0422\u0430\u043a \u043a\u0430\u043a \u044f \u043f\u0438\u0448\u0443 \u043d\u0430 \u043f\u0438\u0442\u043e\u043d\u0435, \u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u043b \u043f\u043e\u0434 \u043d\u0435\u0433\u043e.<\/p>\n<p>\u0423 Facebook \u0435\u0441\u0442\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 API \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 Instagram. \u042d\u0442\u043e <a href=\"https:\/\/developers.facebook.com\/docs\/instagram-api\/?locale=ru_RU\" rel=\"noopener noreferrer nofollow\"><em>API Graph<\/em><\/a> \u0438  <a href=\"https:\/\/developers.facebook.com\/docs\/instagram-basic-display-api\" rel=\"noopener noreferrer nofollow\">API Instagram Basic Display<\/a>.  \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043c\u043d\u0435 \u0447\u0440\u0435\u0437\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u043f\u0440\u043e\u0449\u0435.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u0447\u0435\u043c\u0443 \u0441\u043b\u043e\u0436\u043d\u043e?<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0412\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 <a href=\"https:\/\/developers.facebook.com\/docs\/instagram-basic-display-api\/getting-started\" rel=\"noopener noreferrer nofollow\">\u043d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u0441 API Instagram Basic Display<\/a>.<\/p>\n<\/div>\n<\/details>\n<p>\u0418\u0437 \u043d\u0435\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 API \u0435\u0441\u0442\u044c \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 <a href=\"https:\/\/github.com\/timgrossmann\/InstaPy\" rel=\"noopener noreferrer nofollow\">InstaPy<\/a> (12k GitHub), \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/Selenium\" rel=\"noopener noreferrer nofollow\">Selenium<\/a>.  \u041c\u043d\u0435 \u0442\u0430\u043a\u043e\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u0438\u043c. <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0447\u0430\u0441\u043e\u0432 \u043f\u043e\u0438\u0441\u043a\u043e\u0432 \u043c\u043e\u0439 \u0432\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u043d\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443  <a href=\"https:\/\/pypi.org\/project\/instabot\/\" rel=\"noopener noreferrer nofollow\">instabot<\/a>, \u0441\u0430\u043c\u0430 <a href=\"https:\/\/github.com\/ohld\/igbot\" rel=\"noopener noreferrer nofollow\">\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430<\/a>,  <a href=\"https:\/\/instagrambot.github.io\/docs\/en\/For_developers.html#upload_photo\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a>.<\/p>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043c\u044b \u043d\u0430\u0447\u043d\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043a\u043e\u0434\u043e\u043c, \u0441\u0442\u043e\u0438\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0430\u0440\u0443 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439. \u0421\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c, \u0447\u0442\u043e \u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043a\u0435\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043d\u043e\u0448\u0443\u0441\u044c \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0442\u0430\u043a\u0438\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 (\u043b\u0430\u0439\u043a\u0438, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438, \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438) \u0441 \u0446\u0435\u043b\u044c\u044e \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438. <\/p>\n<p>\u0418\u043d\u0441\u0442\u0440\u0430\u0433\u0440\u0430\u043c \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0432 \u0446\u0435\u043b\u044f\u0445 \u0440\u0430\u0441\u043a\u0440\u0443\u0442\u043a\u0438, \u0434\u0430 \u0438 \u0432 \u0446\u0435\u043b\u043e\u043c, \u043a \u00ab\u043d\u0435\u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0439\u00bb \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043d\u0430 \u0441\u0432\u043e\u0451\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435. \u041d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a\u0430\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u0430\u0441 \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u043e\u043d\u0430 \u044f\u0432\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u0430 \u043e\u0442 \u043d\u0443\u043b\u044f.<\/p>\n<p>\u041c\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u0431\u044b\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/p>\n<h3>\u0427\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c?<\/h3>\n<p>\u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e:<\/p>\n<ul>\n<li>\n<p>\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 <\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0435 \u043b\u0430\u0439\u043a \/ \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 <\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0441\u0442\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <\/p>\n<\/li>\n<li>\n<p>\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0438\u0437 Instagram<\/p>\n<\/li>\n<\/ul>\n<p>\u0413\u043e\u0440\u0430\u0437\u0434\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u0431\u043e\u0440\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0435 \u043a\u0430\u043a \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443, \u0430 \u043a\u0430\u043a \u0437\u0430\u0434\u0430\u0447\u0443 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u0443\u044e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0443\u043d\u043a\u0442\u0430 \u044f \u043d\u0430\u0448\u0451\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u043b, \u043a\u0430\u043a \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c.<\/p>\n<h3>\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432<\/h3>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e, \u0447\u0442\u043e \u0432\u044b \u044e\u043d\u044b\u0439 \u0431\u043b\u043e\u0433\u0433\u0435\u0440, \u0438 \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u043e\u0437\u044b\u0433\u0440\u044b\u0448. \u041d\u043e\u0432\u044b\u0439 \u0433\u043e\u0434, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0441\u043a\u043e\u0440\u043e, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0447\u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0439 \u0440\u043e\u0437\u044b\u0433\u0440\u044b\u0448\u0430 &#8212; \u0431\u044b\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c \u043d\u0430 \u0432\u0430\u0441.  <\/p>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 &#8212; \u043a\u0430\u043a \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0432\u0440\u0443\u0447\u0438\u0442\u044c \u0438\u043c \u043f\u043e\u0434\u0430\u0440\u043a\u0438. <\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c.  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u041a \u0441\u043b\u043e\u0432\u0443, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u043e\u0434\u0432\u0435\u0440\u0433\u0430\u0442\u044c \u0440\u0438\u0441\u043a\u0443 \u0441\u0432\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u043d\u043e\u0432\u044b\u0439 \u0438 \u0432\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e.<\/p>\n<pre><code class=\"python\">from instabot import Bot bot = Bot() bot.login(username = INST_USERNAME,  password = INST_PASSWORD)<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c &#8212; \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 \u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u043c. \u041e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. <\/p>\n<pre><code class=\"python\">user_followers = bot.get_user_followers(username) # \u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 user_following = bot.get_user_following(username) # \u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a<\/code><\/pre>\n<p>\u0421\u0442\u043e\u0438\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c \u0447\u0442\u043e-\u0442\u043e \u0432\u0438\u0434\u0430 <\/p>\n<pre><code class=\"python\">['1537613519',  '7174630295',  '5480786626',  ... , '6230009450',  '4294562266',  '27518898596']<\/code><\/pre>\n<p>\u042d\u0442\u043e <code>user_id<\/code> \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.  \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u044e\u0437\u0435\u0440\u043d\u0435\u0439\u043c\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code class=\"python\">user_id = user_followers[i] username = bot.get_username_from_user_id(user_id)<\/code><\/pre>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u0441\u0442\u043e\u0438\u0442 \u0438\u043c\u0435\u0442\u044c \u0432\u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441 <code>get_username_from_user_id<\/code> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043b\u0443\u0447\u0448\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 <code>user_id<\/code> \u0430 \u0440\u0435\u0437\u043e\u043b\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u044e\u0437\u0435\u0440\u043d\u0435\u0439\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. <\/p>\n<p>\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 <code>username<\/code> \u043c\u043e\u0436\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0442\u0430\u043a<\/p>\n<pre><code class=\"python\">user_followers = bot.get_user_followers(username) amount = len(user_followers) winners = np.random.choice(amount, N, replace=False) winners_usernames = [bot.get_username_from_user_id(users_followers[i]) for i in winners]<\/code><\/pre>\n<p>\u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0431\u043b\u043e\u0433\u0433\u0435\u0440\u044b \u043b\u044e\u0431\u044f\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0440\u043e\u0437\u044b\u0433\u0440\u044b\u0448\u0438 &#8212; \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043a\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432 \u0438 \u0443\u0436\u0435 \u0441\u0440\u0435\u0434\u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438, \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439.<\/p>\n<h3>\u0421\u043f\u0438\u0441\u043e\u043a \u043b\u044e\u0434\u0435\u0439, \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043b\u0430\u0439\u043a<\/h3>\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044f \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u043b\u043e\u0433\u0435\u0440\u0441\u043a\u0443\u044e \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0443, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c, \u0447\u0442\u043e \u0432\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0435 \u0440\u043e\u0437\u044b\u0433\u0440\u044b\u0448 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0440\u0435\u0434\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u0430\u0441, \u043d\u043e \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043b\u0430\u0439\u043a \u043f\u043e\u0434 \u0432\u0430\u0448\u0438\u043c \u043f\u043e\u0441\u0442\u043e\u043c. \u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435?<\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c <code>media_pk<\/code> \u0438\u0437 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0432\u0430\u0448 \u043f\u043e\u0441\u0442:<\/p>\n<pre><code class=\"python\">media_link = 'https:\/\/www.instagram.com\/p\/CJQRFj4Jq1G\/?utm_source=ig_web_copy_link' media_pk = bot.get_media_id_from_link(media_link)<\/code><\/pre>\n<p>\u0422\u043e\u0433\u0434\u0430 \u0434\u043b\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u043b\u044e\u0434\u0435\u0439, \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043b\u0430\u0439\u043a: <\/p>\n<pre><code class=\"python\">users_liked = bot.get_media_likers(media_pk)<\/code><\/pre>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u043b\u044e\u0434\u0435\u0439, \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439:<\/p>\n<pre><code class=\"python\">users_commented = bot.get_media_commenters(media_pk)<\/code><\/pre>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c<\/p>\n<pre><code class=\"python\">comments = bot.get_media_comments(media_pk) # 20 last comments all_comments = bot.get_media_comments_all(media_pk) #all comments<\/code><\/pre>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0441 \u044d\u0442\u0438\u043c\u0438 \u0441\u043f\u0438\u0441\u043a\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u0436\u0435, \u043a\u0430\u043a \u0438 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0443\u043d\u043a\u0442\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439 \u0441\u0440\u0435\u0434\u0438 \u0442\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0432\u0430\u0441 \u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043b\u0430\u0439\u043a \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u043f\u043e\u0434 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c\u0438 N \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f\u043c\u0438.<\/p>\n<h3>\u041f\u043e\u0441\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/h3>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0432\u0435\u0449\u0430\u043c \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043d\u0430\u0448\u0438\u0445 \u043f\u043e\u0441\u0442\u0430\u0445 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 Instagram. \u0412 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u043e\u0441\u0442\u0430\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u043e\u0442 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 20 \u043f\u043e\u0441\u0442\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n<pre><code class=\"python\">twony_last_medias = bot.get_user_medias(username, filtration = None)<\/code><\/pre>\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>filtration<\/code> \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044e \u043f\u043e\u0441\u0442\u043e\u0432. \u041e\u043d \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0441\u0442\u044b, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u0430\u0439\u043a\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043b\u0438\u0431\u043e \u043c\u0435\u043d\u044c\u0448\u0435 <code>bot.min_likes_to_like<\/code>, \u043b\u0438\u0431\u043e \u0431\u043e\u043b\u044c\u0448\u0435<code>bot.max_likes_to_like<\/code> \u042d\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c <code>filtration = True<\/code>.<\/p>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 <code>twony_last_medias<\/code> \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0432\u0438\u0434:<\/p>\n<pre><code class=\"python\">twony_last_medias = [ '2442850452985735104_381142195',  ... ,  '2242166462844436702_381142195'] <\/code><\/pre>\n<p>\u0413\u0434\u0435 \u043f\u0435\u0440\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c, \u0434\u043e <code>_<\/code> &#8212; \u044d\u0442\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u0441\u0442\u0430, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u0447\u0430\u0441\u0442\u044c &#8212; <code>user_id<\/code>, \u0442\u043e \u0435\u0441\u0442\u044c <code>media_id = {media_pk}_{user_id}<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u043e\u0441\u0442\u0430\u0445 \u043d\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0442\u044c Instagram: <\/p>\n<pre><code class=\"python\">media_id = twony_last_medias[i] media_info = bot.get_media_info(media_id)[0] # [0] - \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432, \u0433\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u0438\u043d \u044d\u043b\u0435\u043c\u0435\u043d\u0442 <\/code><\/pre>\n<p> <code>media_info<\/code> &#8212; \u044d\u0442\u043e JSON \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430:<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e JSONa<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 JSON \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0430 \u0432 \u0438\u043d\u0441\u0442\u0430\u0433\u0440\u0430\u043c\u0435. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 JSON \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0439 \u0441\u0432\u043e\u0435\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438, \u043e\u0431\u0440\u0430\u0442\u0438\u0432\u0448\u0438\u0441\u044c \u043a <a href=\"https:\/\/t.me\/InstRequestsBot\" rel=\"noopener noreferrer nofollow\">\u0431\u043e\u0442\u0443<\/a>.<\/p>\n<p>\u0412 <code>media_info<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430\u044f \u043e \u043f\u043e\u0441\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u0431\u0443\u0434\u044c \u044d\u0442\u043e \u0433\u0435\u043e\u043f\u043e\u0437\u0438\u0446\u0438\u044f, \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u0430\u0439\u043a\u043e\u0432.<\/p>\n<p>\u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0441\u0442\u0430 \u0438 JSON \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0432\u0443\u044e\u0449\u0438\u0439 \u0435\u043c\u0443.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3ad\/b46\/a9e\/3adb46a9ee2a700f30477b8c6dd52905.jpg\" width=\"1628\" height=\"1198\"><figcaption><\/figcaption><\/figure>\n<pre><code class=\"json\">{   \"taken_at\": 1584960820,   \"pk\": 2271138434299490600,   \"id\": \"2271138434299490618_381142195\",   \"device_timestamp\": 1584960663222320,   \"media_type\": 1,   \"code\": \"B-EtF98KHE6\",   \"client_cache_key\": \"MjI3MTEzODQzNDI5OTQ5MDYxOA==.2\",   \"filter_type\": 0,   \"location\": {     \"pk\": 500801171,     \"short_name\": \"Bolshaya Nikitskaya Street\",     \"facebook_places_id\": 103200906400409,     \"external_source\": \"facebook_places\",     \"name\": \"Bolshaya Nikitskaya Street\",     \"address\": \"\",     \"city\": \"\",     \"lng\": 37.598333333333,     \"lat\": 55.7575   },   \"lat\": 55.7575,   \"lng\": 37.598333333333,   \"user\": {     \"pk\": 381142195,     \"username\": \"oak.raw\",     \"full_name\": \"\u2115????? ???????\",     \"is_private\": false,     \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/83355342_622022825292167_3709019308832063488_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=dvMUAIilXsIAX9jbV-1&amp;tp=1&amp;oh=7fdc985600993dfa2b1a5da2a117f58c&amp;oe=6011B3AD\",     \"profile_pic_id\": \"2233042169810667649_381142195\",     \"friendship_status\": {       \"following\": true,       \"outgoing_request\": false,       \"is_bestie\": false,       \"is_restricted\": false     },     \"is_verified\": false,     \"has_anonymous_profile_picture\": false,     \"is_unpublished\": false,     \"is_favorite\": false,     \"latest_reel_media\": 1608919065,     \"account_badges\": [],     \"story_reel_media_ids\": []   },   \"can_viewer_reshare\": true,   \"caption_is_edited\": false,   \"comment_likes_enabled\": true,   \"comment_threading_enabled\": true,   \"has_more_comments\": true,   \"next_max_id\": 18104082043182496,   \"max_num_visible_preview_comments\": 2,   \"preview_comments\": [     {       \"pk\": 17865118795863322,       \"user_id\": 1232001680,       \"text\": \"\u041e, \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0443\u0441 \u041b\u0435\u0431\u0435\u0434\u0435\u0432\u0430:)\",       \"type\": 0,       \"created_at\": 1590937324,       \"created_at_utc\": 1590937324,       \"content_type\": \"comment\",       \"status\": \"Active\",       \"bit_flags\": 0,       \"did_report_as_spam\": false,       \"share_enabled\": false,       \"user\": {         \"pk\": 1232001680,         \"username\": \"juliam_moroz\",         \"full_name\": \"Julia Moroz\",         \"is_private\": false,         \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/130863979_442658400430632_6468083327923303795_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=QoXEey9rFtsAX-KQPXk&amp;tp=1&amp;oh=925b051f9b220184e2c6da8b13dced83&amp;oe=600F1F50\",         \"profile_pic_id\": \"2463153806610276064_1232001680\",         \"is_verified\": false       },       \"is_covered\": false,       \"media_id\": 2271138434299490600,       \"has_translation\": true,       \"has_liked_comment\": false,       \"comment_like_count\": 1,       \"private_reply_status\": 0     },     {       \"pk\": 18104082043182496,       \"user_id\": 381142195,       \"text\": \"@juliam_moroz \u0434\u0430)\",       \"type\": 2,       \"created_at\": 1590937557,       \"created_at_utc\": 1590937557,       \"content_type\": \"comment\",       \"status\": \"Active\",       \"bit_flags\": 0,       \"did_report_as_spam\": false,       \"share_enabled\": false,       \"user\": {         \"pk\": 381142195,         \"username\": \"oak.raw\",         \"full_name\": \"\u2115????? ???????\",         \"is_private\": false,         \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/83355342_622022825292167_3709019308832063488_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=dvMUAIilXsIAX9jbV-1&amp;tp=1&amp;oh=7fdc985600993dfa2b1a5da2a117f58c&amp;oe=6011B3AD\",         \"profile_pic_id\": \"2233042169810667649_381142195\",         \"is_verified\": false       },       \"is_covered\": false,       \"media_id\": 2271138434299490600,       \"parent_comment_id\": 17865118795863322,       \"has_liked_comment\": false,       \"comment_like_count\": 0,       \"private_reply_status\": 0     }   ],   \"can_view_more_preview_comments\": true,   \"comment_count\": 7,   \"inline_composer_display_condition\": \"impression_trigger\",   \"inline_composer_imp_trigger_time\": 5,   \"image_versions2\": {     \"candidates\": [       {         \"width\": 1080,         \"height\": 1350,         \"url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-15\/e35\/p1080x1080\/90302974_101307918155463_880925762909832594_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_cat=103&amp;_nc_ohc=p4i6ab9qK3MAX_Je38D&amp;tp=1&amp;oh=47acaea745cfc8601a20d95e0d847370&amp;oe=6011BB64&amp;ig_cache_key=MjI3MTEzODQzNDI5OTQ5MDYxOA%3D%3D.2\",         \"scans_profile\": \"e35\",         \"estimated_scans_sizes\": [           34282,           68565,           102848,           137131,           171414,           191812,           244088,           277418,           308546         ]       },       {         \"width\": 360,         \"height\": 450,         \"url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-15\/e35\/p360x360\/90302974_101307918155463_880925762909832594_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_cat=103&amp;_nc_ohc=p4i6ab9qK3MAX_Je38D&amp;tp=1&amp;oh=7911d48a74cbf2c1c05bf0ef5b16e666&amp;oe=60121616&amp;ig_cache_key=MjI3MTEzODQzNDI5OTQ5MDYxOA%3D%3D.2\",         \"scans_profile\": \"e35\",         \"estimated_scans_sizes\": [           4342,           8685,           13028,           17370,           21713,           26141,           754408,           39084,           39084         ]       }     ]   },   \"original_width\": 1440,   \"original_height\": 1800,   \"like_count\": 108,   \"has_liked\": false,   \"like_and_view_counts_disabled\": false,   \"top_likers\": [     \"yar.ok\"   ],   \"facepile_top_likers\": [     {       \"pk\": 1226384634,       \"username\": \"yar.ok\",       \"full_name\": \"YAROSLAV OKATEV\",       \"is_private\": false,       \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/91143836_1482909661889518_2687135057402920960_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=ZAsnt6I4_7sAX88ZA8A&amp;tp=1&amp;oh=88639d9237f3fc4d578890d57e66f21a&amp;oe=601281EA\",       \"profile_pic_id\": \"2275072905746358933_1226384634\",       \"is_verified\": false     },     {       \"pk\": 306914465,       \"username\": \"nastianastacia\",       \"full_name\": \"Nastia\",       \"is_private\": false,       \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/15802713_1158590314260662_7281072673235402752_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=0lg_5gFmnsUAX-07OSA&amp;tp=1&amp;oh=875accdaf1bc2d1bb72d9442445450a9&amp;oe=6011653B\",       \"profile_pic_id\": \"1423562998005751579_306914465\",       \"is_verified\": false     },     {       \"pk\": 236827679,       \"username\": \"terzivladida\",       \"full_name\": \"\u0422\u0435\u0440\u0437\u0438 \u0412\u043b\u0430\u0434\u0438\u0441\u043b\u0430\u0432 | \u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\",       \"is_private\": false,       \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/122422351_3763193670359540_4602498721748722003_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=df9YioDKtSsAX8kLHJT&amp;tp=1&amp;oh=952d54cb77d1029bc88070ccaf6d99bb&amp;oe=600FFBAD\",       \"profile_pic_id\": \"2425286083698432257_236827679\",       \"is_verified\": false     }   ],   \"photo_of_you\": false,   \"usertags\": {     \"in\": [       {         \"user\": {           \"pk\": 253581477,           \"username\": \"temalebedev\",           \"full_name\": \"Artemy Lebedev\",           \"is_private\": false,           \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/58411085_1127266294129169_3154601655836606464_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=aTk3egGzdp4AX8aexRy&amp;tp=1&amp;oh=b689c9d264aae438a0430d5d34a0c64c&amp;oe=600FB372\",           \"profile_pic_id\": \"2032755399167097999_253581477\",           \"is_verified\": true         },         \"position\": [           0.6723027252,           0.18760061960000002         ],         \"start_time_in_video_in_sec\": null,         \"duration_in_video_in_sec\": null       }     ]   },   \"can_see_insights_as_brand\": false,   \"caption\": {     \"pk\": 17866702039715754,     \"user_id\": 381142195,     \"text\": \"\u0422\u0410\u041a\u0421. \u0414\u0410\u0412\u041d\u041e \u041d\u0418\u0427\u0415\u0413\u041e \u041d\u0415 \u041f\u0418\u0421\u0410\u041b \u2800\\n\\n\u0422\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044e \u0438\u0437 \u043f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0438\u0439 \u0441\u043b\u043e\u0436\u043d\u043e \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0435\u0431\u044f \u0447\u0442\u043e-\u043b\u0438\u0431\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0438 \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c. \u041d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0438\u043d\u0444\u043e\u043f\u043e\u0432\u043e\u0434\u043e\u0432, \u043c\u043e\u0442\u0438\u0432\u0438\u0440\u0443\u044e\u0449\u0438\u0445 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c. \u041d\u0435\u0442 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u044f \u043d\u0430\u0441\u044b\u0449\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0436\u0438\u0437\u043d\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438 \u043f\u043e\u0431\u0443\u0436\u0434\u0430\u0435\u0442  \u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u043c\u0438 \u043a\u0430\u0434\u0440\u0430\u043c\u0438 \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0440\u0438\u044f\u043c\u0438. \u2800\\n\\n\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u043d\u0444\u043e\u043f\u043e\u0432\u043e\u0434\u0430 \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u0439 \u0440\u0435\u0441\u043f\u0438\u0440\u0430\u0442\u043e\u0440.\",     \"type\": 1,     \"created_at\": 1584960823,     \"created_at_utc\": 1584960823,     \"content_type\": \"comment\",     \"status\": \"Active\",     \"bit_flags\": 0,     \"did_report_as_spam\": false,     \"share_enabled\": false,     \"user\": {       \"pk\": 381142195,       \"username\": \"oak.raw\",       \"full_name\": \"\u2115????? ???????\",       \"is_private\": false,       \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/83355342_622022825292167_3709019308832063488_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=dvMUAIilXsIAX9jbV-1&amp;tp=1&amp;oh=7fdc985600993dfa2b1a5da2a117f58c&amp;oe=6011B3AD\",       \"profile_pic_id\": \"2233042169810667649_381142195\",       \"friendship_status\": {         \"following\": true,         \"outgoing_request\": false,         \"is_bestie\": false,         \"is_restricted\": false       },       \"is_verified\": false,       \"has_anonymous_profile_picture\": false,       \"is_unpublished\": false,       \"is_favorite\": false,       \"latest_reel_media\": 1608919065,       \"account_badges\": [],       \"story_reel_media_ids\": []     },     \"is_covered\": false,     \"media_id\": 2271138434299490600,     \"has_translation\": true,     \"private_reply_status\": 0   },   \"can_viewer_save\": true,   \"organic_tracking_token\": \"eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiYTk2MWE2OWMzY2ViNDQ2NGE1NDMzMWRlMjNiNWEyODAyMjcxMTM4NDM0Mjk5NDkwNjE4Iiwic2VydmVyX3Rva2VuIjoiMTYwODk5MzA4ODMxMXwyMjcxMTM4NDM0Mjk5NDkwNjE4fDQ1Mzc1MjU2NzQzfDgxMzI2NWY4YzM2MmIwZDVhMzg3ZTdmNWQ2YjlmYmQyNmQ3ODQ5NzUzMWIzYTk0ZDhkM2VlZmUzNTVkMjQ4MzEifSwic2lnbmF0dXJlIjoiIn0=\",   \"sharing_friction_info\": {     \"should_have_sharing_friction\": false,     \"bloks_app_url\": null   },   \"is_in_profile_grid\": false,   \"profile_grid_control_enabled\": false,   \"is_shop_the_look_eligible\": false,   \"deleted_reason\": 0,   \"integrity_review_decision\": \"pending\" }<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<details class=\"spoiler\">\n<summary>\u0414\u043b\u044f \u043f\u043e\u0441\u0442\u043e\u0432 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0412 \u043f\u043e\u0441\u0442\u0430\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445 \u0432\u0438\u0434\u0435\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 (\u043a\u0430\u0440\u0443\u0441\u0435\u043b\u044c) \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u0435\u0449\u0451 \u0442\u0430\u043a\u0438\u0435 \u043f\u043e\u043b\u044f:<\/p>\n<pre><code class=\"python\">\"video_versions\" \"video_duration\" \"carousel_media\" \"number_of_qualities\" \"title\" \"video_dash_manifest\" \"view_count\" \"product_type\" \"video_codec\" \"is_post_live\" \"media_cropping_info\" \"thumbnails\" \"is_dash_eligible\" \"carousel_media_count\" \"has_audio\"  \"nearly_complete_copyright_match\"<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041a\u0430\u043a \u0443\u0436\u0435 \u0431\u044b\u043b\u043e \u0437\u0430\u043c\u0435\u0447\u0435\u043d\u043e \u0440\u0430\u043d\u0435\u0435, \u0432 <code>media_info<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430\u044f \u043e \u043f\u043e\u0441\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u0431\u0443\u0434\u044c \u044d\u0442\u043e \u0433\u0435\u043e\u043f\u043e\u0437\u0438\u0446\u0438\u044f, \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 (\u0430 \u0435\u0441\u043b\u0438 \u0431\u044b\u0442\u044c \u0442\u043e\u0447\u043d\u044b\u043c \u0438\u0445 \u043f\u0440\u0435\u0432\u044c\u044e,<code>preview_comments<\/code>) \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u0430\u0439\u043a\u043e\u0432.<\/p>\n<p>\u041d\u0438\u0436\u0435 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430 \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u043b\u0435\u0439: <\/p>\n<ul>\n<li>\n<p><code>taken_at<\/code>, <code>pk<\/code>, <code>id<\/code>, <code>device_timestamp<\/code> &#8212; \u0432\u0440\u0435\u043c\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u0441\u0442\u0430 \u0438 \u0435\u0433\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b.<\/p>\n<\/li>\n<li>\n<p><code>media_type<\/code> &#8212; \u0442\u0438\u043f \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u043e\u0441\u0442\u0430. \u041e\u0434\u043d\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \/ \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \/ \u0432\u0438\u0434\u0435\u043e \/ \u043f\u043e\u0441\u0442 \u0432 IGTV.<\/p>\n<\/li>\n<li>\n<p><code>location<\/code>, <code>lng<\/code>, <code>lat<\/code> &#8212; \u0432\u0441\u0451 \u0447\u0442\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u0433\u0435\u043e\u043f\u043e\u0437\u0438\u0446\u0438\u0438, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432 \u043f\u043e\u0441\u0442\u0435. \u041e\u0431\u044a\u0435\u043a\u0442 <code>location<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0433\u0435\u043e\u0442\u0435\u0433\u0435 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <code>facebook_places_id<\/code>, <code>address<\/code>, <code>city<\/code>), <code>lng<\/code> \u0438 <code>lat<\/code> &#8212; \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0433\u0435\u043e\u0442\u0435\u0433\u0430. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043a\u0441\u0442\u0430\u0442\u0438, \u0447\u0442\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e\u0442\u0441\u044f, \u043e\u043d\u0438 \u0435\u0441\u0442\u044c \u043a\u0430\u043a \u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0435 <code>location<\/code>, \u0442\u0430\u043a \u0438 \u0432 \u0441\u0430\u043c\u043e\u043c <code>media_info<\/code>.<\/p>\n<\/li>\n<li>\n<p><code>usertags<\/code> &#8212; \u043e\u0431\u044a\u0435\u043a\u0442, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e\u0431 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u0445.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u043f\u043e\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u0432 \u044d\u0442\u043e\u043c JSON. \u0411\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043c\u0435\u043d\u044f \u0441\u043c\u0443\u0442\u0438\u043b\u0438 \u0434\u0432\u0430 \u043f\u043e\u043b\u044f &#8212; <code>top_likers<\/code> \u0438 <code>facepile_top_likers<\/code>. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u044d\u0442\u043e \u043b\u0430\u0439\u043a\u0438 \u0442\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043b\u0430\u0439\u043a\u043e\u0432 (&#171;\u041d\u0440\u0430\u0432\u0438\u0442\u0441\u044f <code>username<\/code> \u0438 \u0435\u0449\u0435 N \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c&#187;, \u0432 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u0442\u0440\u0438 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u043a\u0440\u0443\u0433\u043b\u044b\u0445 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0434\u043e \u044d\u0442\u043e\u0439 \u043d\u0430\u0434\u043f\u0438\u0441\u0438). \u0413\u043e\u0442\u043e\u0432 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c, \u0447\u0442\u043e Instagram \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043b\u0430\u0439\u043a\u0438 \u0442\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u043d \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c\u0438 \u0438 \u0432\u0430\u0436\u043d\u044b\u043c\u0438 \u0434\u043b\u044f \u043d\u0430\u0441.<\/p>\n<p><code>top_likers<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d username \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0439 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438.<code>facepile_top_likers<\/code> \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044e \u043b\u0430\u0439\u043a\u043e\u0432, \u044d\u0442\u043e\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0442\u0440\u0438 \u043f\u0440\u043e\u0444\u0438\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0433\u0434\u0435 \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u043e\u0444\u0438\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0435\u0433\u043e \u0430\u0432\u0430\u0442\u0430\u0440\u043a\u0443 (<code>profile_pic_url<\/code>). <\/p>\n<details class=\"spoiler\">\n<summary>\u041a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442?<\/summary>\n<div class=\"spoiler__content\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/dab\/033\/1b6\/dab0331b642fcaa6a52ed85639e865b9\" width=\"1242\" height=\"219\"><figcaption><\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043a\u0441\u0442\u0430\u0442\u0438, \u0447\u0442\u043e <code>media_info<\/code>  \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043f\u043e\u043b\u0435 <code>organic_tracking_token<\/code>. \u041a\u0430\u043a \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442 \u0418\u043d\u0441\u0442\u0440\u0430\u0433\u0440\u0430\u043c &#8212; \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 <a href=\"https:\/\/purecontent.com\/blog\/instagram-makes-it-easier-for-brands-to-track-organic-content-stats\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430<\/a> \u0431\u0440\u0435\u043d\u0434\u043e\u0432, \u0437\u0430\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u043c \u043e\u0440\u0433\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0446\u0438\u0438. <\/p>\n<details class=\"spoiler\">\n<summary>\u0410 \u043a\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435?<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e Instagram \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043e \u043d\u0430\u0441 &#8212; \u0440\u044f\u0434\u043e\u0432\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u0445. \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u043e\u0435\u0433\u043e \u043b\u044e\u0431\u0438\u043c\u043e\u0433\u043e <a href=\"https:\/\/www.instagram.com\/shortstache\/\" rel=\"noopener noreferrer nofollow\">\u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0430<\/a>.<\/p>\n<p>\u0422\u0430\u043a\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e \u043f\u0440\u043e\u0444\u0438\u043b\u0435 (\u0432 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043e\u043d \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 &#8212; \u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0443\u0434\u0435\u0442 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043c\u0435\u043d\u044c\u0448\u0435). \u0422\u0430\u043a\u0436\u0435 \u0442\u0443\u0442 \u0435\u0441\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043e\u0431\u0449\u0438\u0445 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432. \u0415\u0449\u0451 \u0432 \u0442\u0430\u043a\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0418\u043d\u0441\u0442\u0430\u0433\u0440\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0432\u0430\u043c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f.<\/p>\n<pre><code class=\"json\">{   \"pk\": 566674424,   \"username\": \"shortstache\",   \"full_name\": \"Garrett King\",   \"is_private\": false,   \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/130951392_133135768583933_6026107970965456642_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=gmxi213GpY4AX8cbdpz&amp;tp=1&amp;oh=ad1ca4820958615dc5e99859ef101b1d&amp;oe=60134F33\",   \"profile_pic_id\": \"2463797374104100463_566674424\",   \"is_verified\": false,   \"has_anonymous_profile_picture\": false,   \"media_count\": 2594,   \"geo_media_count\": 0,   \"follower_count\": 485647,   \"following_count\": 1090,   \"following_tag_count\": 0,   \"biography\": \"?Huntington Beach, CA\\nBehind the scenes @longstache \\ninfo@shortstache.com\",   \"biography_with_entities\": {     \"raw_text\": \"?Huntington Beach, CA\\nBehind the scenes @longstache \\ninfo@shortstache.com\",     \"entities\": [       {         \"user\": {           \"id\": 2264445914,           \"username\": \"longstache\"         }       }     ]   },   \"external_url\": \"http:\/\/santogallery.com\/garrett-king\",   \"external_lynx_url\": \"https:\/\/l.instagram.com\/?u=http%3A%2F%2Fsantogallery.com%2Fgarrett-king&amp;e=ATOlDiBCCUHXljpYDutSTWgfd8g3dL5JwubDPnxKKowaNqriJSOcQSmZoZp6cEyK1gYK5DnB3Zo5UXaFQfTISio&amp;s=1\",   \"total_igtv_videos\": 30,   \"has_igtv_series\": false,   \"total_clips_count\": 1,   \"total_ar_effects\": 0,   \"usertags_count\": 7399,   \"is_favorite\": false,   \"is_favorite_for_stories\": false,   \"is_favorite_for_igtv\": false,   \"is_favorite_for_highlights\": false,   \"live_subscription_status\": \"default\",   \"is_interest_account\": true,   \"has_chaining\": true,   \"hd_profile_pic_versions\": [     {       \"width\": 320,       \"height\": 320,       \"url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s320x320\/130951392_133135768583933_6026107970965456642_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=gmxi213GpY4AX8cbdpz&amp;tp=1&amp;oh=2947433220502b82b19ddc9c7931bb43&amp;oe=601512CB\"     },     {       \"width\": 640,       \"height\": 640,       \"url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s640x640\/130951392_133135768583933_6026107970965456642_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=gmxi213GpY4AX8cbdpz&amp;tp=1&amp;oh=43803ae7d9967b4195b1b6751227723f&amp;oe=60161EF2\"     }   ],   \"hd_profile_pic_url_info\": {     \"url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/130951392_133135768583933_6026107970965456642_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=gmxi213GpY4AX8cbdpz&amp;oh=b8f622f8d82b633018a28b4c5b59b24b&amp;oe=6016354B\",     \"width\": 1080,     \"height\": 1080   },   \"mutual_followers_count\": 1,   \"profile_context\": \"Followed by oak.raw\",   \"profile_context_links_with_user_ids\": [     {       \"start\": 12,       \"end\": 19,       \"username\": \"oak.raw\"     }   ],   \"profile_context_mutual_follow_ids\": [     381142195   ],   \"show_shoppable_feed\": false,   \"shoppable_posts_count\": 0,   \"can_be_reported_as_fraud\": false,   \"merchant_checkout_style\": \"none\",   \"seller_shoppable_feed_type\": \"none\",   \"has_highlight_reels\": true,   \"has_guides\": false,   \"is_eligible_for_smb_support_flow\": true,   \"displayed_action_button_partner\": null,   \"smb_delivery_partner\": null,   \"smb_support_partner\": null,   \"smb_donation_partner\": null,   \"smb_support_delivery_partner\": null,   \"displayed_action_button_type\": \"\",   \"direct_messaging\": \"\",   \"address_street\": \"\",   \"business_contact_method\": \"\",   \"category\": \"Photographer\",   \"city_id\": 0,   \"city_name\": \"\",   \"contact_phone_number\": \"\",   \"is_call_to_action_enabled\": false,   \"latitude\": null,   \"longitude\": null,   \"public_email\": \"info@shortstache.com\",   \"public_phone_country_code\": \"\",   \"public_phone_number\": \"\",   \"zip\": \"\",   \"instagram_location_id\": \"\",   \"is_business\": false,   \"account_type\": 3,   \"professional_conversion_suggested_account_type\": 3,   \"can_hide_category\": true,   \"can_hide_public_contacts\": true,   \"should_show_category\": true,   \"should_show_public_contacts\": true,   \"account_badges\": [],   \"whatsapp_number\": \"\",   \"include_direct_blacklist_status\": true,   \"is_potential_business\": true,   \"show_post_insights_entry_point\": true,   \"is_bestie\": false,   \"has_unseen_besties_media\": false,   \"show_account_transparency_details\": true,   \"auto_expand_chaining\": false,   \"highlight_reshare_disabled\": false,   \"is_memorialized\": false,   \"open_external_url_with_in_app_browser\": true }<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<h3>\u041a\u0430\u043a \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/h3>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u044d\u0442\u043e\u043c JSON \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043b\u0438\u0431\u043e \u0432 <code>image_versions2<\/code>, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u0433\u0434\u0430 \u0432 \u043f\u043e\u0441\u0442\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0430 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f, \u043b\u0438\u0431\u043e \u0432 <code>carousel_media<\/code>, \u043a\u043e\u0433\u0434\u0430 \u0432 \u043f\u043e\u0441\u0442\u0435 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e.  <code>carousel_media<\/code>  \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432  <code>image_versions2<\/code><\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0431\u044a\u0435\u043a\u0442\u0430  <code>image_versions2<\/code>:<\/p>\n<details class=\"spoiler\">\n<summary>image_versions2<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"json\">{'candidates': [{'width': 1080,    'height': 1350,    'url': 'https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-15\/e35\/p1080x1080\/125189871_796604151185655_2119263110300122485_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;amp;_nc_cat=103&amp;amp;_nc_ohc=EmwfsFYiGrEAX8tQBmB&amp;amp;tp=1&amp;amp;oh=e3dea4bf769d4b40061da8a61664df1c&amp;amp;oe=60118BF5&amp;amp;ig_cache_key=MjQ0Mjg1MDQ0OTgzMTY4MDY1Ng%3D%3D.2',    'scans_profile': 'e35',    'estimated_scans_sizes': [10780,     21560,     32341,     43121,     53901,     60316,     76754,     87235,     97023]},   {'width': 360,    'height': 450,    'url': 'https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-15\/e35\/p360x360\/125189871_796604151185655_2119263110300122485_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;amp;_nc_cat=103&amp;amp;_nc_ohc=EmwfsFYiGrEAX8tQBmB&amp;amp;tp=1&amp;amp;oh=65ecaab230598f4502f3a909e3163149&amp;amp;oe=600F039A&amp;amp;ig_cache_key=MjQ0Mjg1MDQ0OTgzMTY4MDY1Ng%3D%3D.2',    'scans_profile': 'e35',    'estimated_scans_sizes': [2680,     5360,     8041,     10721,     13402,     16135,     465655,     24124,     24124]}]} <\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u041c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0418\u043d\u0441\u0442\u0430\u0433\u0440\u0430\u043c \u0445\u0440\u0430\u043d\u0438\u0442 \u0443 \u0441\u0435\u0431\u044f \u0434\u0432\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438: \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e \u0438 \u043c\u0435\u043d\u044c\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0421\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443, \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u043c\u0435\u043d\u044c\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0443\u0436\u043d\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u043f\u043e\u0441\u0442 \u0432 \u043b\u0435\u043d\u0442\u0435.<\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u0432\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442. \u0422\u0443\u0442 \u0443\u0447\u0442\u0435\u043d\u043e, \u0447\u0442\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u043e\u0441\u0442\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u0430\u043a \u043e\u0434\u043d\u0430, \u0442\u0430\u043a \u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439.  \u0415\u0441\u043b\u0438 \u0436\u0435 \u043f\u043e\u0441\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0438\u0434\u0435\u043e, \u0442\u043e \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0441\u043a\u0430\u0447\u0430\u0435\u0442 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u043e\u0438\u0442 \u043d\u0430 \u043e\u0431\u043b\u043e\u0436\u043a\u0435 \u0432\u0438\u0434\u0435\u043e.<\/p>\n<pre><code class=\"python\">\"\"\"     filename goes without an extention \"\"\" import requests def donwnload_photo(media_id, filename):     media = bot.get_media_info(media_id)[0]     if (\"image_versions2\" in media.keys()):         url = media[\"image_versions2\"][\"candidates\"][0][\"url\"]         response = requests.get(url)         with open(filename + \".jpg\", \"wb\") as f:             response.raw.decode_content = True             f.write(response.content)     elif(\"carousel_media\" in media.keys()):         for e, element in enumerate(media[\"carousel_media\"]):             url = element['image_versions2'][\"candidates\"][0][\"url\"]             response = requests.get(url)             with open(filename + str(e) + \".jpg\", \"wb\") as f:                 response.raw.decode_content = True                 f.write(response.content) <\/code><\/pre>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0441\u0435\u0431\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e, \u0447\u0442\u043e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439  \u0438\u0437 \u043f\u0440\u043e\u0444\u0438\u043b\u044f \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043c \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f:<\/p>\n<pre><code class=\"python\">twony_last_medias = bot.get_user_medias(\"shortstache\", filtration = None) for e,media_id in enumerate(twony_last_medias):         donwnload_photo(media_id, \"img_\" + str(e))<\/code><\/pre>\n<details class=\"spoiler\">\n<summary>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0433\u043e <a href=\"https:\/\/www.instagram.com\/shortstache\/\" rel=\"noopener noreferrer nofollow\">shortstache<\/a>. \u0423\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0418\u043d\u0441\u0442\u0430\u0433\u0440\u0430\u043c \u0441\u0436\u0430\u043b \u044d\u0442\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u0431\u0435\u0437 \u0432\u0438\u0434\u0438\u043c\u043e\u0439 \u043f\u043e\u0442\u0435\u0440\u0438 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/eba\/168\/340\/eba16834030fb67fc86f789f9df336a3.jpg\" alt=\"\u0412\u0441\u0435\u0433\u043e 160 Kb\" title=\"\u0412\u0441\u0435\u0433\u043e 160 Kb\" width=\"1080\" height=\"1350\"><figcaption>\u0412\u0441\u0435\u0433\u043e 160 Kb<\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0e3\/c6c\/b48\/0e3c6cb4842c7fc2bde247bbb6bc90e1.jpg\" alt=\"\u0412\u0441\u0435\u0433\u043e 119 Kb\" title=\"\u0412\u0441\u0435\u0433\u043e 119 Kb\" width=\"1080\" height=\"1350\"><figcaption>\u0412\u0441\u0435\u0433\u043e 119 Kb<\/figcaption><\/figure>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/808\/6a6\/87a\/8086a687ac5ad8ae9dfa0a1457dda68e.jpg\" alt=\"278 Kb\" title=\"278 Kb\" width=\"1080\" height=\"1350\"><figcaption>278 Kb<\/figcaption><\/figure>\n<\/p>\n<\/div>\n<\/details>\n<h3>Outro<\/h3>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/c03\/0b2\/cb0\/c030b2cb07780c9731acf8975593294e.jpg\" width=\"3000\" height=\"2000\"><figcaption><\/figcaption><\/figure>\n<p>\u0421 \u043a\u0430\u0436\u0434\u044b\u043c \u0447\u0430\u0441\u043e\u043c, \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u043c \u0432 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u044f\u0445, \u043c\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f\u043c \u0432\u0441\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0441\u0435\u0431\u0435. \u0410 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u044d\u0442\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u0436\u0435 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u043d\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043e \u043d\u0430\u0441 \u0438 \u043d\u0430\u0448\u0435\u043c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438, \u043d\u043e \u0438 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u043d\u0435\u043d\u0430\u0432\u044f\u0437\u0447\u0438\u0432\u043e \u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439. \u0415\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e, \u0442\u043e \u043c\u0435\u043d\u044f \u0432\u0441\u0435\u0433\u0434\u0430 \u0437\u0430\u0432\u043e\u0440\u0430\u0436\u0438\u0432\u0430\u043b\u0430 \u0442\u0430 \u0441\u0438\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0435\u0441\u0442\u044c \u0443 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0437\u043d\u0430\u044e\u0449\u0438\u0445 \u043e \u043d\u0430\u0441 \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043c\u044b \u0441\u0430\u043c\u0438. <\/p>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0430\u0441 \u043d\u0430 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u0431\u0430\u0437\u0438\u0440\u0443\u044e\u0449\u0438\u0439\u0441\u044f \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 Instagram. \u041b\u0438\u0447\u043d\u043e \u0443 \u043c\u0435\u043d\u044f \u0447\u0435\u0448\u0443\u0442\u0441\u044f \u0440\u0443\u043a\u0438 \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u043a\u0430\u043a \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0438 \u0433\u0435\u043e\u0442\u0435\u0433\u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0439 travel \u0431\u043b\u043e\u0433\u0433\u0435\u0440\u043e\u0432 \u0437\u0430 2019 \u0438 2020 \u0433\u043e\u0434.  \u041c\u043c\u043c, \u0410 \u0435\u0441\u043b\u0438 \u0435\u0449\u0451 \u0438 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043a\u0443\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u043a\u0438 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u043c\u0443 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043b\u044f \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u0445 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 (\u043d\u0435 \u0437\u0440\u044f \u0436\u0435 \u0434\u0432\u0430 \u0433\u043e\u0434\u0430 CV \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0441\u044f). \u041d\u0435\u043d\u0430\u0432\u044f\u0437\u0447\u0438\u0432\u043e \u043e\u0441\u0442\u0430\u0432\u043b\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 <a href=\"https:\/\/t.me\/rawoak\" rel=\"noopener noreferrer nofollow\">\u043c\u043e\u0439 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c \u043a\u0430\u043d\u0430\u043b<\/a>, \u0433\u0434\u0435 \u044f \u0431\u0443\u0434\u0443 \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0441\u0432\u043e\u0438 \u0438\u0437\u044b\u0441\u043a\u0430\u043d\u0438\u044f \u0432 \u044d\u0442\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438.  <\/p>\n<p>\u041a \u0441\u043b\u043e\u0432\u0443, \u0435\u0441\u043b\u0438 \u0432\u044b \u0432\u0434\u0440\u0443\u0433 \u0431\u0443\u0434\u0435\u0442\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e- \u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0435 \u0441 Instagram, \u0442\u043e <a href=\"https:\/\/github.com\/adw0rd\/instagrapi\" rel=\"noopener noreferrer nofollow\">\u0432\u043e\u0442<\/a> \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430.<\/p>\n<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/535156\/\"> https:\/\/habr.com\/ru\/post\/535156\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0430\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043d\u0430 python \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0438\u0437 \u0438\u043d\u0441\u0442\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0435\u0441\u044f \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435.<\/p>\n<hr>\n<h3>Intro<\/h3>\n<p>\u041f\u0440\u0438 \u0444\u0430\u0437\u043e\u0432\u043e\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u0438\u0437 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f Employed \u0432 Self-Employed \u044f \u043f\u043e\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0430\u0432\u043d\u043e \u0445\u043e\u0442\u0435\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u041f\u043e\u0441\u043b\u0435 \u043f\u0430\u0440\u043e\u0447\u043a\u0438 \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c \u0431\u043e\u0442\u043e\u0432 \u0441 e-acquiring \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c \u0441\u0447\u0430\u0441\u0442\u044c\u044f \u0441 Instagram. \u041a\u0430\u043a \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443, \u043f\u0440\u0435\u0436\u0434\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0432\u0448\u0435\u043c\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u0438 \u043f\u043e\u0434\u0447\u0438\u0449\u0435\u043d\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438, \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c \u0434\u043e\u0431\u044b\u0447\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0431\u043b\u0438\u0436\u0435. <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043b\u0435\u043d\u044c \u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0441\u0451, \u0442\u043e \u0432\u043e\u0442 <a href=\"https:\/\/t.me\/InstRequestsBot\" rel=\"noopener noreferrer nofollow\">\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0431\u043e\u0442<\/a> \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 Instargam. <\/p>\n<details class=\"spoiler\">\n<summary>\u0427\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u043e\u0442?<\/summary>\n<div class=\"spoiler__content\">\n<p>\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0431\u043e\u0442 \u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432<\/p>\n<ul>\n<li>\n<p> \u0421\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0430 \/ \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 <\/p>\n<\/li>\n<li>\n<p> \u0421\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \/ \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043b\u0430\u0439\u043a \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c<\/p>\n<\/li>\n<li>\n<p>\u0421\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0442\u043e\u0440\u0430 \/ \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0442\u043e\u0440\u043e\u0432, \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c<\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u0449\u0438\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0438 \u0434\u043b\u044f \u0434\u0432\u0443\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439<\/p>\n<\/li>\n<li>\n<p><em>user-info JSON<\/em> (\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435 Instagram \u0432 \u0442\u043e\u043c \u0432\u0438\u0434\u0435 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d\u0430 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445)<\/p>\n<\/li>\n<li>\n<p><em>media-info JSON<\/em> (\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u0443\u0431\u043b\u0438\u0446\u0430\u0446\u0438\u0438 \u0432 Instagram \u0432 \u0442\u043e\u043c \u0432\u0438\u0434\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d\u0430 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445)<\/p>\n<\/li>\n<\/ul>\n<p>P.S. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u043e\u043d \u043d\u0435 \u0443\u043f\u0430\u0434\u0435\u0442 \u043f\u043e\u0434 \u043d\u0430\u0442\u0438\u0441\u043a\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432<\/p>\n<p>P.P.S \u0418 \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u0432 \u0438\u043d\u0441\u0442\u0435, \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0435 \u0437\u0430\u0431\u043b\u043e\u0447\u0430\u0442 <\/p>\n<\/div>\n<\/details>\n<h3>Inspiration<\/h3>\n<p>\u0412\u043e \u043c\u043d\u043e\u0433\u043e\u043c \u043c\u0435\u043d\u044f \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0430 <a href=\"https:\/\/vc.ru\/social\/183716-gde-chashche-fotografiruyutsya-v-moskve-haker-otvechaet\" rel=\"noopener noreferrer nofollow\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a>, \u0433\u0434\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0441\u0430\u043c\u044b\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0433\u0435\u043e\u0442\u0435\u0433\u0438 \u041c\u043e\u0441\u043a\u0432\u044b, \u0438 <a href=\"https:\/\/t.me\/danokhlopkov\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c \u043a\u0430\u043d\u0430\u043b<\/a> \u0435\u0451 \u0430\u0432\u0442\u043e\u0440\u0430. \u041c\u043d\u0435 \u0441\u0442\u0430\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0430 \u043a\u0430\u043a \u0432\u043e\u043e\u0431\u0449\u0435 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u0435\u0439.<\/p>\n<h3>\u041a\u0430\u043a\u043e\u0435 API \u0432\u044b\u0431\u0440\u0430\u0442\u044c?<\/h3>\n<p>\u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u0422\u0430\u043a \u043a\u0430\u043a \u044f \u043f\u0438\u0448\u0443 \u043d\u0430 \u043f\u0438\u0442\u043e\u043d\u0435, \u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u043b \u043f\u043e\u0434 \u043d\u0435\u0433\u043e.<\/p>\n<p>\u0423 Facebook \u0435\u0441\u0442\u044c \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 API \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 Instagram. \u042d\u0442\u043e <a href=\"https:\/\/developers.facebook.com\/docs\/instagram-api\/?locale=ru_RU\" rel=\"noopener noreferrer nofollow\"><em>API Graph<\/em><\/a> \u0438  <a href=\"https:\/\/developers.facebook.com\/docs\/instagram-basic-display-api\" rel=\"noopener noreferrer nofollow\">API Instagram Basic Display<\/a>.  \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043c\u043d\u0435 \u0447\u0440\u0435\u0437\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u043f\u0440\u043e\u0449\u0435.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u043e\u0447\u0435\u043c\u0443 \u0441\u043b\u043e\u0436\u043d\u043e?<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0412\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 <a href=\"https:\/\/developers.facebook.com\/docs\/instagram-basic-display-api\/getting-started\" rel=\"noopener noreferrer nofollow\">\u043d\u0430\u0447\u0430\u043b\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u0441 API Instagram Basic Display<\/a>.<\/p>\n<\/div>\n<\/details>\n<p>\u0418\u0437 \u043d\u0435\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 API \u0435\u0441\u0442\u044c \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 <a href=\"https:\/\/github.com\/timgrossmann\/InstaPy\" rel=\"noopener noreferrer nofollow\">InstaPy<\/a> (12k GitHub), \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/Selenium\" rel=\"noopener noreferrer nofollow\">Selenium<\/a>.  \u041c\u043d\u0435 \u0442\u0430\u043a\u043e\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u0438\u043c. <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0447\u0430\u0441\u043e\u0432 \u043f\u043e\u0438\u0441\u043a\u043e\u0432 \u043c\u043e\u0439 \u0432\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u043d\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443  <a href=\"https:\/\/pypi.org\/project\/instabot\/\" rel=\"noopener noreferrer nofollow\">instabot<\/a>, \u0441\u0430\u043c\u0430 <a href=\"https:\/\/github.com\/ohld\/igbot\" rel=\"noopener noreferrer nofollow\">\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430<\/a>,  <a href=\"https:\/\/instagrambot.github.io\/docs\/en\/For_developers.html#upload_photo\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a>.<\/p>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043c\u044b \u043d\u0430\u0447\u043d\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043a\u043e\u0434\u043e\u043c, \u0441\u0442\u043e\u0438\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0430\u0440\u0443 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439. \u0421\u0440\u0430\u0437\u0443 \u043e\u0433\u043e\u0432\u043e\u0440\u044e\u0441\u044c, \u0447\u0442\u043e \u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043a\u0435\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043d\u043e\u0448\u0443\u0441\u044c \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0442\u0430\u043a\u0438\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 (\u043b\u0430\u0439\u043a\u0438, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438, \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438) \u0441 \u0446\u0435\u043b\u044c\u044e \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438. <\/p>\n<p>\u0418\u043d\u0441\u0442\u0440\u0430\u0433\u0440\u0430\u043c \u043d\u0435 \u043e\u0441\u043e\u0431\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e \u0442\u0430\u043a\u043e\u0433\u043e \u0440\u043e\u0434\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0432 \u0446\u0435\u043b\u044f\u0445 \u0440\u0430\u0441\u043a\u0440\u0443\u0442\u043a\u0438, \u0434\u0430 \u0438 \u0432 \u0446\u0435\u043b\u043e\u043c, \u043a \u00ab\u043d\u0435\u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0439\u00bb \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043d\u0430 \u0441\u0432\u043e\u0451\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435. \u041d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a\u0430\u044f \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u0430\u0441 \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043d\u043e \u043e\u043d\u0430 \u044f\u0432\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u0430 \u043e\u0442 \u043d\u0443\u043b\u044f.<\/p>\n<p>\u041c\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u0431\u044b\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/p>\n<h3>\u0427\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c?<\/h3>\n<p>\u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e:<\/p>\n<ul>\n<li>\n<p>\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 <\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0435 \u043b\u0430\u0439\u043a \/ \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 <\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0441\u0442\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <\/p>\n<\/li>\n<li>\n<p>\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0438\u0437 Instagram<\/p>\n<\/li>\n<\/ul>\n<p>\u0413\u043e\u0440\u0430\u0437\u0434\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u0431\u043e\u0440\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0435 \u043a\u0430\u043a \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443, \u0430 \u043a\u0430\u043a \u0437\u0430\u0434\u0430\u0447\u0443 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u043d\u0443\u044e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0443\u043d\u043a\u0442\u0430 \u044f \u043d\u0430\u0448\u0451\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u043b, \u043a\u0430\u043a \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c.<\/p>\n<h3>\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432<\/h3>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e, \u0447\u0442\u043e \u0432\u044b \u044e\u043d\u044b\u0439 \u0431\u043b\u043e\u0433\u0433\u0435\u0440, \u0438 \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0440\u043e\u0437\u044b\u0433\u0440\u044b\u0448. \u041d\u043e\u0432\u044b\u0439 \u0433\u043e\u0434, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0441\u043a\u043e\u0440\u043e, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0447\u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0439 \u0440\u043e\u0437\u044b\u0433\u0440\u044b\u0448\u0430 &#8212; \u0431\u044b\u0442\u044c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c \u043d\u0430 \u0432\u0430\u0441.  <\/p>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0444\u043e\u0440\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 &#8212; \u043a\u0430\u043a \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0432\u0440\u0443\u0447\u0438\u0442\u044c \u0438\u043c \u043f\u043e\u0434\u0430\u0440\u043a\u0438. <\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c.  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u041a \u0441\u043b\u043e\u0432\u0443, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u043e\u0434\u0432\u0435\u0440\u0433\u0430\u0442\u044c \u0440\u0438\u0441\u043a\u0443 \u0441\u0432\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u043d\u043e\u0432\u044b\u0439 \u0438 \u0432\u0441\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e.<\/p>\n<pre><code class=\"python\">from instabot import Bot bot = Bot() bot.login(username = INST_USERNAME,  password = INST_PASSWORD)<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u044b \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c &#8212; \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 \u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u043c. \u041e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. <\/p>\n<pre><code class=\"python\">user_followers = bot.get_user_followers(username) # \u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 user_following = bot.get_user_following(username) # \u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u043a<\/code><\/pre>\n<p>\u0421\u0442\u043e\u0438\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c \u0447\u0442\u043e-\u0442\u043e \u0432\u0438\u0434\u0430 <\/p>\n<pre><code class=\"python\">['1537613519',  '7174630295',  '5480786626',  ... , '6230009450',  '4294562266',  '27518898596']<\/code><\/pre>\n<p>\u042d\u0442\u043e <code>user_id<\/code> \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.  \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u044e\u0437\u0435\u0440\u043d\u0435\u0439\u043c\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code class=\"python\">user_id = user_followers[i] username = bot.get_username_from_user_id(user_id)<\/code><\/pre>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u0441\u0442\u043e\u0438\u0442 \u0438\u043c\u0435\u0442\u044c \u0432\u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441 <code>get_username_from_user_id<\/code> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435 \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043b\u0443\u0447\u0448\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 <code>user_id<\/code> \u0430 \u0440\u0435\u0437\u043e\u043b\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u044e\u0437\u0435\u0440\u043d\u0435\u0439\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. <\/p>\n<p>\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 <code>username<\/code> \u043c\u043e\u0436\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0442\u0430\u043a<\/p>\n<pre><code class=\"python\">user_followers = bot.get_user_followers(username) amount = len(user_followers) winners = np.random.choice(amount, N, replace=False) winners_usernames = [bot.get_username_from_user_id(users_followers[i]) for i in winners]<\/code><\/pre>\n<p>\u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0431\u043b\u043e\u0433\u0433\u0435\u0440\u044b \u043b\u044e\u0431\u044f\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0440\u043e\u0437\u044b\u0433\u0440\u044b\u0448\u0438 &#8212; \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043a\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u043e\u0432 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u043e\u0432 \u0438 \u0443\u0436\u0435 \u0441\u0440\u0435\u0434\u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438, \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439.<\/p>\n<h3>\u0421\u043f\u0438\u0441\u043e\u043a \u043b\u044e\u0434\u0435\u0439, \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043b\u0430\u0439\u043a<\/h3>\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044f \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0431\u043b\u043e\u0433\u0435\u0440\u0441\u043a\u0443\u044e \u0442\u0435\u043c\u0430\u0442\u0438\u043a\u0443, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c, \u0447\u0442\u043e \u0432\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0435 \u0440\u043e\u0437\u044b\u0433\u0440\u044b\u0448 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0440\u0435\u0434\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u0430\u0441, \u043d\u043e \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043b\u0430\u0439\u043a \u043f\u043e\u0434 \u0432\u0430\u0448\u0438\u043c \u043f\u043e\u0441\u0442\u043e\u043c. \u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 \u0442\u0430\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435?<\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c <code>media_pk<\/code> \u0438\u0437 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0432\u0430\u0448 \u043f\u043e\u0441\u0442:<\/p>\n<pre><code class=\"python\">media_link = 'https:\/\/www.instagram.com\/p\/CJQRFj4Jq1G\/?utm_source=ig_web_copy_link' media_pk = bot.get_media_id_from_link(media_link)<\/code><\/pre>\n<p>\u0422\u043e\u0433\u0434\u0430 \u0434\u043b\u044f \u0441\u043f\u0438\u0441\u043a\u0430 \u043b\u044e\u0434\u0435\u0439, \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043b\u0430\u0439\u043a: <\/p>\n<pre><code class=\"python\">users_liked = bot.get_media_likers(media_pk)<\/code><\/pre>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u043b\u044e\u0434\u0435\u0439, \u043e\u0441\u0442\u0430\u0432\u0438\u0432\u0448\u0438\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439:<\/p>\n<pre><code class=\"python\">users_commented = bot.get_media_commenters(media_pk)<\/code><\/pre>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043f\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u043c<\/p>\n<pre><code class=\"python\">comments = bot.get_media_comments(media_pk) # 20 last comments all_comments = bot.get_media_comments_all(media_pk) #all comments<\/code><\/pre>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0441 \u044d\u0442\u0438\u043c\u0438 \u0441\u043f\u0438\u0441\u043a\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u0436\u0435, \u043a\u0430\u043a \u0438 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0443\u043d\u043a\u0442\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439 \u0441\u0440\u0435\u0434\u0438 \u0442\u0435\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u0432\u0430\u0441 \u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043b\u0430\u0439\u043a \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u043f\u043e\u0434 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c\u0438 N \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f\u043c\u0438.<\/p>\n<h3>\u041f\u043e\u0441\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/h3>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0432\u0435\u0449\u0430\u043c \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043d\u0430\u0448\u0438\u0445 \u043f\u043e\u0441\u0442\u0430\u0445 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 Instagram. \u0412 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u043e\u0441\u0442\u0430\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u043e\u0442 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 20 \u043f\u043e\u0441\u0442\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n<pre><code class=\"python\">twony_last_medias = bot.get_user_medias(username, filtration = None)<\/code><\/pre>\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>filtration<\/code> \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044e \u043f\u043e\u0441\u0442\u043e\u0432. \u041e\u043d \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0441\u0442\u044b, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u0430\u0439\u043a\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043b\u0438\u0431\u043e \u043c\u0435\u043d\u044c\u0448\u0435 <code>bot.min_likes_to_like<\/code>, \u043b\u0438\u0431\u043e \u0431\u043e\u043b\u044c\u0448\u0435<code>bot.max_likes_to_like<\/code> \u042d\u0442\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c <code>filtration = True<\/code>.<\/p>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 <code>twony_last_medias<\/code> \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0432\u0438\u0434:<\/p>\n<pre><code class=\"python\">twony_last_medias = [ '2442850452985735104_381142195',  ... ,  '2242166462844436702_381142195'] <\/code><\/pre>\n<p>\u0413\u0434\u0435 \u043f\u0435\u0440\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c, \u0434\u043e <code>_<\/code> &#8212; \u044d\u0442\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u0441\u0442\u0430, \u0430 \u0432\u0442\u043e\u0440\u0430\u044f \u0447\u0430\u0441\u0442\u044c &#8212; <code>user_id<\/code>, \u0442\u043e \u0435\u0441\u0442\u044c <code>media_id = {media_pk}_{user_id}<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u043e\u0441\u0442\u0430\u0445 \u043d\u0430\u043c \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0442\u044c Instagram: <\/p>\n<pre><code class=\"python\">media_id = twony_last_medias[i] media_info = bot.get_media_info(media_id)[0] # [0] - \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432, \u0433\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u0438\u043d \u044d\u043b\u0435\u043c\u0435\u043d\u0442 <\/code><\/pre>\n<p> <code>media_info<\/code> &#8212; \u044d\u0442\u043e JSON \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430:<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e JSONa<\/summary>\n<div class=\"spoiler__content\">\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 JSON \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0430 \u0432 \u0438\u043d\u0441\u0442\u0430\u0433\u0440\u0430\u043c\u0435. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 JSON \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0439 \u0441\u0432\u043e\u0435\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438, \u043e\u0431\u0440\u0430\u0442\u0438\u0432\u0448\u0438\u0441\u044c \u043a <a href=\"https:\/\/t.me\/InstRequestsBot\" rel=\"noopener noreferrer nofollow\">\u0431\u043e\u0442\u0443<\/a>.<\/p>\n<p>\u0412 <code>media_info<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430\u044f \u043e \u043f\u043e\u0441\u0442\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u0431\u0443\u0434\u044c \u044d\u0442\u043e \u0433\u0435\u043e\u043f\u043e\u0437\u0438\u0446\u0438\u044f, \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043b\u0430\u0439\u043a\u043e\u0432.<\/p>\n<p>\u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0441\u0442\u0430 \u0438 JSON \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0432\u0443\u044e\u0449\u0438\u0439 \u0435\u043c\u0443.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<pre><code class=\"json\">{   \"taken_at\": 1584960820,   \"pk\": 2271138434299490600,   \"id\": \"2271138434299490618_381142195\",   \"device_timestamp\": 1584960663222320,   \"media_type\": 1,   \"code\": \"B-EtF98KHE6\",   \"client_cache_key\": \"MjI3MTEzODQzNDI5OTQ5MDYxOA==.2\",   \"filter_type\": 0,   \"location\": {     \"pk\": 500801171,     \"short_name\": \"Bolshaya Nikitskaya Street\",     \"facebook_places_id\": 103200906400409,     \"external_source\": \"facebook_places\",     \"name\": \"Bolshaya Nikitskaya Street\",     \"address\": \"\",     \"city\": \"\",     \"lng\": 37.598333333333,     \"lat\": 55.7575   },   \"lat\": 55.7575,   \"lng\": 37.598333333333,   \"user\": {     \"pk\": 381142195,     \"username\": \"oak.raw\",     \"full_name\": \"\u2115????? ???????\",     \"is_private\": false,     \"profile_pic_url\": \"https:\/\/scontent-hel3-1.cdninstagram.com\/v\/t51.2885-19\/s150x150\/83355342_622022825292167_3709019308832063488_n.jpg?_nc_ht=scontent-hel3-1.cdninstagram.com&amp;_nc_ohc=dvMUAIilXsIAX9jbV-1&amp;tp=1&amp;oh=7fdc985600993dfa2b1a5da2a117f58c&amp;oe=6011B3AD\",     \"profile_pic_id\": \"2233042169810667649_381142195\",     \"friendship_status\": {       \"following\": true,       \"outgoing_request\": false,       \"is_bestie\": false,       \"is_restricted\": false     },     \"is_verified\": false,     \"has_anonymous_profile_picture\": false,     \"is_unpublished\": false,     \"is_favorite\": false,     \"latest_reel_media\": 1608919065,     \"account_badges\": [],     \"story_reel_media_ids\": []   },   \"can_viewer_reshare\": true,   \"caption_is_edited\": false,   \"comment_likes_enabled\": true,   \"comment_threading_enabled\": true,   \"has_more_comments\": true,   \"next_max_id\": 18104082043182496,   \"max_num_visible_preview_comments\": 2,   \"preview_comments\": [     {       \"pk\": 17865118795863322,       \"user_id\": 1232001680,       \"text\": \"\u041e, \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0443\u0441 \u041b\u0435\u0431\u0435\u0434\u0435\u0432\u0430:)\",       \"type\": 0,       \"created_at\": 1590937324,       \"created_at_utc\": 1590937324,       \"content_type\": \"comment\",       \"status\": \"Active\",       \"bit_flags\": 0,       \"did_report_as_spam\": false,       \"share_enabled\": false,       \"user\": {         \"pk\": 1232001680,         \"username\": \"juliam_moroz\",         \"full_name\": \"Julia Moroz\",         \"is_private\": false,         \"profile_pic_url\":<\/code><\/pre>\n<\/div>\n<\/details>\n<\/hr>\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-315811","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/315811","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=315811"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/315811\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=315811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=315811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=315811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}