This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
Releases: alcortazzo/vktgbot
Releases · alcortazzo/vktgbot
v3.1
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
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
- Implemented sending posts with unlimited text length
v2.5
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()
whentg_channel
isint
v2.4
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.
- Now bot will keep one-day log files in a separate folder
- Implemented whitelist (#27).
- Posts will now be parsed in sequential order.
- Code reviewed.
- Minor changes.
v2.3
- 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
- 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
- Added checking for posts with copyrights and group name to reposts
v2.0
- 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
- Added
check_python_version()
method. if your Python version <= 3.5 the script will be stopped. - Added
config.ShouldBotLog
switcher: IfShouldBotLog = False
bot will not create and keep bot.log file. - Rewrited
.format
to f-strings