- Notifications
You must be signed in to change notification settings - Fork1
ravhb/fetch-leetcode-submission
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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.
- Using Chrome to open theleetcode, log in, then the redirect to the thesubmission page
- Open the Chrome Developer Tools console tab.
- Paste the code in index.js in console, then press the Enter in keyboard.
- 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)
- You can customize the markdown template, header or footer. You also can dump a JSON file.
- If you wanna have a try of the script, set
onlyFetchFirstPage = true
, will only fetch the first page submissions.If you wanna dump all,onlyFetchFirstPage = false
- A draft script.. Still need update.
About
Fetch leetcode submission
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published