Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/graythze/groups.removeuser
🗑️ Python script which automatically deletes blocked or deleted members from VK community
https://github.com/graythze/groups.removeuser
vk vk-api vkontakte vkontakte-api
Last synced: 5 days ago
JSON representation
🗑️ Python script which automatically deletes blocked or deleted members from VK community
- Host: GitHub
- URL: https://github.com/graythze/groups.removeuser
- Owner: graythze
- License: gpl-3.0
- Created: 2020-09-20T11:32:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-17T08:07:54.000Z (over 3 years ago)
- Last Synced: 2024-10-31T13:22:33.324Z (about 2 months ago)
- Topics: vk, vk-api, vkontakte, vkontakte-api
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🗑️ groups.removeUser
A python script which deletes blocked or deleted members from community### ✅ Checklist to do before deleting
* 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**.### 🛠 Setup
You need to set variables in settings.py:
* `community_id` is ID (without `-`) of community.
* `vk_token` is VK API [Implicit Flow][0] access_token.
* If you have pages that **should not be deleted**, add page ID in `whitelist` dictionary.### 🔌 Run script
* Set required variables
* Type `python script.py` to launch.[0]: https://vk.com/dev/implicit_flow_user?f=3.%20Receiving%20access_token "Implicit Flow for User Access Token"