various useful scripts for vk.com
A script for automatically transferring community subscriptions from one VK account to another.
- Collecting a list of open and closed communities from the specified page
- Subscribing to communities
- Captcha handling
- Subscription caching (faster re-runs)
- Logging to file
-
The script is written in Python 3.13.2
-
Install dependencies:
pip install vk_api- Clone the project:
git clone https://github.com/ggghbc/vkscripts.git
cd vkscripts- Open
vk_community_tool.pyand set:
TOKEN = "your_token"
SOURCE_USER_ID = 11111111 # ID of the source accountpython vk_group_transfer.py-
Go to: vkhost.github.io
-
Select VK Admin or Kate Mobile, confirm authorization
-
Copy the
access_tokenwith required permissions (groups,offline) -
Paste the token into the
TOKENvariable as shown above
- The script works in blocks of 1000 communities (API limit)
- Logs are saved to
vk_group_transfer.log - Subscription cache is saved in
subs_cache.json - Subscription errors are saved to
failed_groups.txt - Closed/blocked communities are saved to
blocked_or_closed_groups.txt
This project is released under The Unlicense.