mornville / Leetcode-Automation

Automates Leetcode Login then searches for all the solved questions by the user, downloads the latest Accepted Submission and puts them in a directory.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leetcode-Automation

Searches for all the solved questions on Leetcode, downloads the latest Accepted Submission and puts them in a github repository.

  • Uses Selenium for Python
  • Automated Login using Leetcode username and password
  • Creates README.md for each problem with its question content and a file containing its solution with the extension corresponding to the language used to solve the problem.

Installation

  • git clone https://github.com/mornville/Leetcode-Automation.git
  • pip3 install requirements.txt
  • Change username & password in scraper.py
  • python3 scraper.py

About

Automates Leetcode Login then searches for all the solved questions by the user, downloads the latest Accepted Submission and puts them in a directory.


Languages

Language:Python 99.4%Language:Java 0.6%