This python script uses selenium and the Microsoft Edge webdriver to scare the Leetcode for the first 5 challenges.
- Get the top 5 challenges, their title and the link
- Go to the challenge page and take a screenshot of the challenge decription
- get input from the user to select what level of problems to generate [x] Upload the images to a CDN (cloudinary?) [x] Send the challenges to a slack channel
- Microsoft Edge - Download Here
- Microsoft Edge Webdriver - Download Here
# clone the repo into a virtual environment
# activate the virtual environment
> pip install -r requirements.txt
> python3 findChallenge.py