An open API service indexing awesome lists of open source software.

https://github.com/himself65/luogucrawler

一个python爬虫来爬取洛谷各种信息
https://github.com/himself65/luogucrawler

crawler python python3

Last synced: 9 months ago
JSON representation

一个python爬虫来爬取洛谷各种信息

Awesome Lists containing this project

README

          

# 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.