leetCode submission table
![npm](https://img.shields.io/npm/v/@xlaoyu/leetcode-submission-table.svg)
Use crawlers to get all submitted records, use tables to display, add filtering.
Why?
leetCode's submissions history page does't offer filter function, it's very inconvenient if we want to find the one we had submit.
Usage
Deps
- Node 8+
- Can access google.com(你懂的)
Install
~$ npm install -g @xlaoyu/leetcode-submission-table
Start
~ $ lst -u username -p password
~ $ lst -c config.json
✔ Server start successed!
✔ login success!
please visit http://127.0.0.1:3000
Config
name | short name | default | desc |
---|
username | u | - | leetcode's username |
password | p | - | leetcode's pwd |
port | t | 3000 | local server port |
config | c | - | specify config file |
headless | l | true | whether use headless mode |
config file example
{
"username": "bidiu",
"password": "biu~",
"port": "3000",
"headless: true
}
Screenshot
![2](https://user-images.githubusercontent.com/6936358/38743224-201d3624-3f71-11e8-960e-4c05442367cd.gif)
TODO
License
MIT