Leetcode downloader

CLI app to download leetcode submissions

Features

  • CLI and bzl code to generate submission docs
  • Tampermonkey script to download submissions (Doesn’t work because the API was removed)
  • CLI to download submissions (Doesn’t work because of bot protection)

Usage

Generate submission from a submission file

bazel run go/leetcode_downloader -- \
    --submissions-file "${PWD}/out/submissions.json" \
    --root-dir "${PWD}" \
    generate

Help

Usage of flags:
  -base_url string
    	 (default "https://leetcode.com")
  -cookie string

  -limit uint
    	 (default 20)
  -offset uint

  -root-dir string
    	 (default "${PWD}")
  -submissions-file string

Bzl

Bazel code

Proto

Protobuf contracts

Releases

Releases