Skip to content

Commit b10a6b7

Browse files
committed
Update README.md
update readme
1 parent e790370 commit b10a6b7

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,31 @@
1-
# Leetcode2Github
2-
this project aims to sync code in leetcode to github.
1+
# 欢迎共同开发
2+
3+
@(工具开发中)[同步工具|leetcode|github]
4+
> **leetcode2github**是一款专为leetcode用户同步AC代码到github上的同步工具。
5+
6+
- 该工具使用**网络爬虫**,爬取**leetcode**用户的提交代码,然后把提交代码更新到**github**网站上。
7+
- 本工具编写的爬虫代码,采用**多线程**方式,在一定程度上提高了爬虫效率。
8+
9+
-------------------
10+
11+
[TOC]
12+
13+
## 原理图
14+
```flow
15+
st=>start: MutipleSpider(模拟登录leetcode)
16+
e=>end: 结束
17+
op=>operation: Scheduler
18+
op1=>operation: Downloader
19+
cond=>condition: 是否爬取所有数据?
20+
op2=>operation: PineLine
21+
op3=>operation: 模拟登录github
22+
op4=>operation: 同步数据
23+
24+
st->op->op1->cond->op2->op3->op4
25+
cond(yes)->op2
26+
cond(no)->op
27+
```
28+
29+
30+
## Spider类说明
31+

0 commit comments

Comments
 (0)