Standardize text when checking for exact matches
This repository contains Python code to scrape metadata of all the members in a specific guild’s channel on Discord.
JSON
TXT
[!Important] Bios are heavily rate-limited.
pip install -r requirements.txt
[!Tip] You may want to download some packages from a third-party website. Typically: frozenlist‑1.3.0‑py3‑none‑any.whl multidict‑6.0.2‑py3‑none‑any.whl
[!Tip] You may want to download some packages from a third-party website. Typically:
frozenlist‑1.3.0‑py3‑none‑any.whl
multidict‑6.0.2‑py3‑none‑any.whl
config.json.example
config.json
[!Note] The token is the value of Authorization as found in the Headers of your browser requests.
token
Authorization
Headers
[!Note] Input channel_id if you wish to scrape members from a particular channel. Otherwise, leave it to 0.
channel_id
0
[!Important] For pictures, the image format is always PNG, no matter the file extension which you ask for via the JSON config.
PNG
python main.py
[!Warning] About 300 bios can be downloaded before reaching the rate-limit and getting error 429 Too Many Requests for an hour.
429 Too Many Requests
[!Caution] Using selfbots is against Discord’s Terms of Service, use this project at your own risk!
python display_spammers.py
[!Tip] If this is your sole objective, set download_bio and download_pfp to false to speed the process up.
download_bio
download_pfp
false
python export_avatar_urls.py
[!Tip] This allows to rely on another tool, e.g. img2dataset, to download the avatar images.
img2dataset
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Discord: Scraper of Guild Members’ Metadata
This repository contains Python code to scrape metadata of all the members in a specific guild’s channel on Discord.
Features
JSONconfig file.TXTfile.Requirements
config.json.exampletoconfig.jsonand edit the required settings.Usage
Screenshots