This is a Discord bot used for making scraping the CPHUB Beginner Contests Ranklist and push them into the GitHub. Made mainly using requests_html and BeautifulSoup4 and discord.py .
Clone the repository and install the requirements.
git clone https://github.com/akshith6212/scraper.git
Dependencies
Install the necessary dependencies from requirements.txt
pip install -r requirements.txt
Run the main.py to activate the bot.
python main.py
Note:
Make sure you have given the tokens for both github and discord.
-
$start link
- Starts scraping if and only if the link is valid.
-
$push
- Starts pushing the changes made to the given git repository.
-
$help
- For displaying this message.