A python script which deletes blocked or deleted members from community
- Your community has not more than 1M subscribers. Deleting for big communities may cause errors because of VK API restriction (run this script for two or more times after 24 hours for full deletion)
- Members who have "DELETED" in name or "banned" in 'deactivated' line will be removed from community
- Your role in community is moderator and above.
You need to set variables in settings.py:
community_id
is ID (without-
) of community.vk_token
is VK API Implicit Flow access_token.- If you have pages that should not be deleted, add page ID in
whitelist
dictionary.
- Set required variables
- Type
python script.py
to launch.