Skip to content

LeetCode Scraper is a python program that takes advantage of selenium to logins into a user's LeetCode account, and scrape code for their solved problems. It stores their code inside of a file of their choosing.

Notifications You must be signed in to change notification settings

QuickLearner171998/Leetcode-Scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

#LeetCode Scraper

LeetCode Scraper is a python program that logins into your LeetCode account, and copies your code for your solved problems into its corresponding file.

For example, your solution to the problem FizzBizz will be stored in the file Fizzbizz.extension

##Requirements

##Steps to install and run

  1. Download the .py file
    git clone https://github.com/jrluu/Leetcode-Scraper.git
  2. Install Selenium
    pip install selenium
  3. Download the latest Google Chrome Driver and put it in the same directory as the .py file
  4. Type the command to run the file using python
    python leetcode_scraper.py
  5. Follow instructions based on the command prompt
    (This will prompt you to select the method to login, and then it will ask you for your username and password)
  6. Enjoy =)

##Where to find your files Your files will be located in the folder called leet_code_solutions

##Ways to contribute:

  1. Add a GUI

##For more information on installing

  1. [Python 2.7 Beginners guide] (https://wiki.python.org/moin/BeginnersGuide)
  2. [How to install Selenium] (http://selenium-python.readthedocs.io/installation.html)
  3. Google Chrome Driver Download

##Contact: If you have any inquires or comments, please feel free them to send them to [email protected] with the subject line: [LeetCode_Scraper] title.

##Authors: Jonathan Luu

About

LeetCode Scraper is a python program that takes advantage of selenium to logins into a user's LeetCode account, and scrape code for their solved problems. It stores their code inside of a file of their choosing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%