TheMatiaz0 / Simple-Disboard-Scraposearcher

Web scraper for https://disboard.org, which allows you to search for multiple tags and multiple language flags. Written in Python 3.9.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple-Disboard-Scraposearcher

Web scraper for https://disboard.org, which allows you to search for multiple tags and multiple language flags. Written in Python 3.9.

Presentation of program

Step-by-step:

  1. Launch scrapsearch.py, there are a lot of ways to launch a python file. My method is just moving to the source folder of the file and typing "python <file_name>.py" (additionally you can launch this program with command line parameters).
  2. Firstly, as a search query, write type (server's main topic) of server you want to find (for example, if you want to play Among Us then type "Among Us", if you want to find servers with programming as a main topic then type "programming").
  3. Then, you will know how many pages are there to scrap from. Every page contains 24 servers. Type number or leave it empty if you want to search for every single page.
  4. After that, you can enter tags you want to search. Tags are like these: Tags presentation. They are like server's secondary topic/s. But, if you want to search for servers with only specific flag without adding tags leave the field empty.
  5. Next, the flag/s. It is the language that server uses (at least theoretically). Here is their appearance on the site: Flags presentation. Write two letter acronym of your country to use it (for ex. if you are from Russia, use ru, if you are from Spain, use es, etc). But, you don't have to write anything (if you wrote something in the tags field, otherwise the program won't work).
  6. Lastly, the rule. There are two options: "AND" and "OR". If you want to find a server that contains one of the tags AND the flag/s then use "AND". Option "OR" is for situation where you want to find a server with one of the tags OR specific flag (which equals more servers to find). By the way, if one of the fields (flags or tags) is empty then you have to use OR option.
  7. And that's it. The search begins... and have fun looking for the best Discord server. If you want to cancel/interrupt the search then use CTRL+C. The program also saves your search results in the text file, next to the launched python file: Python file and txt file.

Uses:

About

Web scraper for https://disboard.org, which allows you to search for multiple tags and multiple language flags. Written in Python 3.9.

License:MIT License


Languages

Language:Python 100.0%