/leetcode-crawler

A web crawler to fetch the problemset from Leetcode

Primary LanguageJavaScript

Leetcode Crawler

Crawl the problemset from Leetcode.

Format the code with its problem info, pre-set default code so you can jump on and start coding right away.

To view the output, visit the problemset in here.

Always keep the following in mind:

Language might not last, but algorithm will long live.

Usage

  • Download the code, tweak the file format as you wish.
  • Install npm packages using npm install
  • Run the crawler using node app

Todo

  • Add customizable config to set user info etc
  • Set filetype and default code according to config
  • Refactor some constants to make code more readable

License

  • MIT