LeetcodeCompanyScraper icon indicating copy to clipboard operation
LeetcodeCompanyScraper copied to clipboard

Scrapes questions by company from a leetcode premium account

To install dependencies:

pip3 install -r requirements.txt

To run:

python3 scrapy.py

Notes:

  • You will have to fill out your username and password in the script.
  • Chromedriver may be out of date. Latest versions, and those specific to your operating system can be found at https://sites.google.com/a/chromium.org/chromedriver/

Feel free to message me with questions. Last used and tested on Apr 8, 2020 to scrape all questions by company from Leetcode.