Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Releases: alcortazzo/vktgbot

v3.1

16 Oct 14:56
4122477
Compare
Choose a tag to compare

What's Changed

  • Fixed script crash when trying to parse VK video clip (by @sandboiii).
  • Implemented reformatting VK links in the posts text (#47).
  • Implemented handling VK groups without custom domain names (#45) (by @sandboiii).

v3.0

11 Apr 19:53
8633258
Compare
Choose a tag to compare

What's Changed

  • The script was completely rewritten from scratch.
  • Improved the architecture and structure of the project.
  • The script has been rewritten from the pyTelegramBotAPI library to the aiogram library.
  • Improved logging. Implemented rotation and compression of log files for convenience and to save memory space.
  • The script settings have now been moved to the .env file for greater versatility when running the script in different ways.
  • Many other improvements and changes.

v2.6

04 Dec 19:29
Compare
Choose a tag to compare
  • Implemented sending posts with unlimited text length

v2.5

17 Oct 16:40
7721f3f
Compare
Choose a tag to compare

Important: You should re-fill config.py file because all variables have been renamed.

  • Implemented sending of more types of documents.
    • The way to parse and send documents has been improved.
    • The bot can now parse and send GIF files, images, text files, and ebooks.
  • Unnecessary overwriting of file last_known_id.txt was removed.
  • Renamed all variables and functions according to pep8 rules.
  • Fixed bug in send_log() when tg_channel is int

v2.4

16 Jul 17:18
5a2c13d
Compare
Choose a tag to compare

Important: If you did not use a blacklist, replace the BLACKLIST = [""] value with an empty BLACKLIST = []

  • Improved photo parsing. Now bot will remove c_uniq_tag attribute from links to photos, because under certain conditions, telegram did not parse links with this attribute.
  • Implemented preview of links in reposts.
  • Improved and optimized logging.
    • Now bot will keep one-day log files in a separate folder /logs/.
    • Also changed log messages.
  • Implemented whitelist (#27).
  • Posts will now be parsed in sequential order.
  • Code reviewed.
  • Minor changes.

v2.3

18 May 19:28
Compare
Choose a tag to compare
  • Improved photo parsing. Now bot will still choose the largest size of all photo sizes regardless of their order in the array.
  • Fixed a bug when trying to send log to private channel (when used channel ID (int) instead of link to channel (str) in tgLogChannel)
  • Minor changes

v2.2

08 Mar 20:04
Compare
Choose a tag to compare
  • Fixed bug when parse_mode="HTML" reads symbols <, >, & in the post text.
  • Added more comments under method header.
  • Updated link in config.py.

v2.1

03 Feb 18:05
d26bf13
Compare
Choose a tag to compare
  • Added checking for posts with copyrights and group name to reposts

v2.0

25 Jan 15:56
87b4a34
Compare
Choose a tag to compare
  • One big method has been rewritten into many small methods and sub-methods for better reading and performance.
  • Bot can split VK posts larger than 4096 characters into many small (≤4090) messages for sending to Telegram.
  • Bot can add VK videos links to the messages.
  • Bot can send reposts as a separate messages. All media of the reposts also will be sent to Telegram.
  • Minor fixes
  • Minor changes in the README.md.

v1.6

07 Oct 10:38
Compare
Choose a tag to compare
  • Added check_python_version() method. if your Python version <= 3.5 the script will be stopped.
  • Added config.ShouldBotLog switcher: If ShouldBotLog = False bot will not create and keep bot.log file.
  • Rewrited .format to f-strings