Leetcode-parse is a project to crawl leetcode api. It's original intention is to provide a stable interface for the development of leetcode app so that we can make learning algorithms more convenient. It will provide leetcode user login, algorithm lists, algorithm detail, comments, solution and discussion api and more.
Before running, we need configure running environment.
- JDK (1.8 or later versions)
$ sudo apt install openjdk-8-jdk
$ java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
You can refer here to set JAVA_HONE
.
Leetcode-parse project provides leetcode_parse.jar to run as demo. There are three steps to generate the project jar.
- Clone down leetcode-parse and enter project root directory.
- Enter service directory using
cd service
. - Run
mvn package -DskipTests
command.leetcode_parse.jar
is the target generated jar under service/target directory.
java -jar leetcode_parse.jar
We hope more developers to join. Here's the most direct way to contribute your work merged into leetcode-parse.
- Fork the project from Github
- Clone down your fork
- Implement your feature or bug fix and commit changes
- Push the branch up to your fork
- Send a pull request to leetcode-parse master branch
You can contact me via email or wechat group:
- Email: ahutsunshine@gmail.com
- Wechat Group