World Conquest Chronicles

World Conquest Chronicles

Romani Bot, v1.2

Multifunctional Instagram* bot.

Integrate with Romani Core and improve a commenting and an errors handling.

 

* Запрещена в России / Banned in Russia.

Change Log

  • Start a conversation with an user via Romani Core.
  • Wrap each step of an user processing to the try/catch construction:
    • following;
    • media processing.
  • Comments:
    • Add an example of a comment generator config with a Cyrillic text.
    • Encode comments to the JSON format on a logging:
      • in a generation of a comment;
      • in a saving of a comment to a database;
      • in a commenting of an user media;
      • doesn't escape Unicode characters.
    • Stick punctuation marks to words in front of them.
  • Remove a dependence on the MongoDB client.

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);
    • start a conversation with him via Romani Core (optionally);
  • comments:
    • generation of a random comment (from predefined parts);
    • protection against a double commenting (via a memorizing of comments in SQLite).