Skip to content

This Python script takes a file containing Discord invite links as input and checks the validity of each link. Valid links are saved in a "valid_links.txt" file and invalid links are saved in an "invalid_links.txt" file.

License

Notifications You must be signed in to change notification settings

asish-op/Discord-invite-link-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Invite Link Checker

This script checks a list of Discord invite links for validity. It uses regular expressions to extract the invite code from the link, constructs the invite endpoint URL, and makes a GET request to it to check the response status code. Valid invite links are printed in green, invalid ones in red. The script also creates a folder called Data and two files inside it called valid_links.txt and invalid_links.txt, where the corresponding links are saved.

How to Use

  1. Clone or download the repository.
  2. Install the required packages: pip install -r requirements.txt.
  3. Prepare a text file with a list of Discord invite links, one per line.
  4. Run the script: python main.py.
  5. Enter the name of the input file when prompted.
  6. Check the console for the results.
  7. Check the Data folder for the saved links.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This Python script takes a file containing Discord invite links as input and checks the validity of each link. Valid links are saved in a "valid_links.txt" file and invalid links are saved in an "invalid_links.txt" file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages