A crawler for hsreplay.net

Shellmiao 85933f5ad0 update readme_en 1 year ago
comp e90f03e0ff first commit 1 year ago
heros e90f03e0ff first commit 1 year ago
minion e90f03e0ff first commit 1 year ago
.gitignore e90f03e0ff first commit 1 year ago
README.md 85933f5ad0 update readme_en 1 year ago
README_EN.md 85933f5ad0 update readme_en 1 year ago
main.py e90f03e0ff first commit 1 year ago

README.md

Hsreplay.netCrawler

一个用于爬取Hsreplay.net网站中酒馆战旗模块数据的爬虫 README_EN

使用方法

python .\main.py -h
usage: main.py [-h] -o {comp,hero,minion} -p {ALL,TOP_20_PERCENT} -r {CURRENT_BATTLEGROUNDS_PATCH,LAST_7_DAYS}
               [-s SESSIONID] [-c CSRFTOKEN]

爬取hsreplay.net酒馆数据

optional arguments:
  -h, --help            show this help message and exit
  -o {comp,hero,minion}, --operation {comp,hero,minion}
                        comp: 流派 hero: 英雄 minion: 随从
  -p {ALL,TOP_20_PERCENT}, --percentile {ALL,TOP_20_PERCENT}
                        ALL: 全部玩家 TOP_20_PERCENT: 百分之二十玩家
  -r {CURRENT_BATTLEGROUNDS_PATCH,LAST_7_DAYS}, --range {CURRENT_BATTLEGROUNDS_PATCH,LAST_7_DAYS}
                        CURRENT_BATTLEGROUNDS_PATCH: 当前版本 LAST_7_DAYS: 最近7天
  -s SESSIONID, --sessionid SESSIONID
                        session_id的值(可选/在main.py中修改)
  -c CSRFTOKEN, --csrftoken CSRFTOKEN
                        csrf_token的值(可选/在main.py中修改)