Romani Bot, v1.1
Posted on

Multifunctional Instagram* bot.
Improve an errors handling, add delays to a work with the Instagram* API, replace MongoDB to SQLite.
* Запрещена в России / Banned in Russia.
Change Log
- Update the Instagram* API client.
- Replace MongoDB to SQLite.
- Wrap to the try/catch construction:
- processing of each media;
- each step of a media processing:
- liking;
- commenting.
- Add a customizable delay:
- to an Instagram* API pagination processing;
- between processings:
- of users;
- of a media;
- between steps of a media processing.
* Запрещена в России / Banned in Russia.
Features
- log in a bot account;
- getting of a follower list of a target account;
- for each follower of the target account:
- follow his account;
- getting of his feed;
- for each media in his feed:
- like this media (optionally);
- comment this media (optionally);
- comments:
- generation of a random comment (from predefined parts);
- protection against a double commenting (via a memorizing of comments in SQLite).