📦 himself65 / LuoguCrawler

📄 README.md · 69 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69# LuoguCrawler | 洛谷爬虫

[![Build Status](https://travis-ci.org/Himself65/LuoguCrawler.svg?branch=master)](https://travis-ci.org/Himself65/LuoguCrawler) [![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) ![language](https://img.shields.io/badge/language-python3-blue.svg)

【停止更新】lin_toto 明确禁止了洛谷的脚本使用

## Quick Start

注意:luogu/ 文件夹为必备内容,**请不要直接拷贝 example\*.py 代码直接运行**

1.  下载至本地,并解压

2.  运行相关脚本

```bash
cd LuoguCrawler

py example_download.py
```

## Scripts

- 下载你的所有 AC 代码

效果图:

快速下载你所有的 AC 代码

![04](/img/04.png)

[脚本地址](/example_codedownload.py)

- 洛谷用户爬取

多线程爬下用户信息

![03](/img/03.png)

[脚本地址](/example_userInfoCrawler.py)

- 其他脚本截图

![01](/img/01.png)

![02](/img/02.png)

## Config

- 修改 config.json 内容

- 某些特定脚本或许有需要配置的地方(将会修复)

```python
myUrl = "https://www.luogu.org/space/show?uid=72813"
myID = 72813
```

## TODO

详见[TODO.md](TODO.md)

### Credits

感谢洛谷开发组提供的灵感,也感谢使用我 Repo 的各位

## LICENSE

LowguNotice is available under the MIT license. See the [LICENSE](LICENSE) file for more information.