Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
CodeForceContestCounter.py
Codeforces.py
CodeforcesRate.py
Dockerfile
HDU.py
HDUSpider.py
LPOJ.py
README.md
Vjudge.py
main.py
requirements.txt
setting.json

README.md

爬虫机器人

主要用于爬取学生的博客和大OJ的做题数

Docker部署

首先修改配置文件,setting.json里的东西都要修改为你的ip

cd CrawlingServer
nano setting.json

接着运行容器

docker build -t lpojcrawlingserver .
docker run -d lpojcrawlingserver

一般部署

cd CrawlingServer
nano setting.json
# 修改对应的数据库IP和端口保存退出
pip install feedparser
pip install mysqlclient
sudo python main.py
You can’t perform that action at this time.