Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fetch leetcode submission

NotificationsYou must be signed in to change notification settings

ravhb/fetch-leetcode-submission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Help you to fetch your leetcode submissions.

The script runs on Chrome, which means you don't need any running environment. Just install the Chrome.

After runned it, the browser will download a formatted markdown file. This is a generated filedemo.

How to use

  1. Using Chrome to open theleetcode, log in, then the redirect to the thesubmission page
  2. Open the Chrome Developer Tools console tab.
  3. Paste the code in index.js in console, then press the Enter in keyboard.
This a step by step screen recording. Only fetch the first page submissions.

fetch1

Need to know

  1. The script will retry when the request failed. You don't have stop the script when some request failed with 400.(My experience is that a same request may failed more than 50 times. Just retry, it will succeed finally)
  2. You can customize the markdown template, header or footer. You also can dump a JSON file.
  3. If you wanna have a try of the script, setonlyFetchFirstPage = true, will only fetch the first page submissions.If you wanna dump all,onlyFetchFirstPage = false
  4. A draft script.. Still need update.

About

Fetch leetcode submission

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp