https://github.com/azure99/algcontestinfo
近期算法竞赛信息爬虫, 支持Codeforces/LeetCode/牛客网/洛谷等常见OJ
https://github.com/azure99/algcontestinfo
Last synced: about 1 year ago
JSON representation
近期算法竞赛信息爬虫, 支持Codeforces/LeetCode/牛客网/洛谷等常见OJ
- Host: GitHub
- URL: https://github.com/azure99/algcontestinfo
- Owner: Azure99
- License: mit
- Created: 2019-10-10T05:31:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T03:14:01.000Z (almost 2 years ago)
- Last Synced: 2025-03-26T11:11:34.210Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 86.9 KB
- Stars: 26
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AlgorithmContestInfo
算法竞赛信息爬虫,提供近期ACM/OI或其他类型算法竞赛信息。
提供与 http://contests.acmicpc.info/contests.json 一致的接口
其他信息等待完善
## 使用Docker部署
```
docker run -d -p 8081:8081 azure99/alg-contest-info:1.0.1
```
## 官方数据源
http://algcontest.rainng.com/
本数据源允许直接引用,但请标注以下文字,谢谢。
**数据来源http://algcontest.rainng.com/**
已开启跨域,支持Https,可以使用JavaScript等前端语言调用
## API
* /contests 获取所有类型竞赛信息
* /contests/acm 获取ACM竞赛信息
* /contests/oi 获取OI竞赛信息
## 兼容IcpcInfo信息站API
* /contests/old 获取所有类型竞赛信息
* /contests/old/acm 获取ACM竞赛信息
* /contests/old/oi 获取OI竞赛信息
官方数据源完全兼容老ACM竞赛信息站,您可以将contests.acmicpc.info重定向至algcontest.rainng.com
## FAQ
Q: 为什么没有一些知名OJ的爬虫实现
A: 这些OJ在近期未举办比赛或没有举办比赛的意向,当其举办比赛时会开发
Q: 目前支持哪些站点?
* [CodeForces](https://codeforces.com/contests)
* [CometOJ](https://cometoj.com/contests)
* [计蒜客](https://nanti.jisuanke.com/contest)
* [LeetCode](https://leetcode.com/contest/)
* [洛谷](https://www.luogu.org/contest/list)
* [牛客网](https://ac.nowcoder.com/acm/home)