Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuweiyou committed Feb 9, 2018
1 parent 0be6a62 commit ce2a85d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 我最在行/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

**抓请求之前,请完全删除小程序,重新搜索小程序名字进入。因为你之前登录过,后续抓不到登录请求了**

### 爬取题库
### 爬取题库

> 爬题思路:不断进行好友对战获取题目,随意提交答案会返回正确答案,存入数据库,重复的忽略
Expand All @@ -24,15 +24,15 @@

如果出现带 `leave` 单词的提示,说明上一局是异常退出的。只要关掉脚本,重新再运行就好了。

爬题需要一定的时间,也可以直接导入[我爬好的题库 MongoShell BSON(.json)](questions.json)(9.2k 个题目,持续更新)
爬题需要一定的时间,也可以直接导入[我爬好的题库 MongoShell BSON(.json)](questions.json)(9.2k 个题目,持续更新)

数据库名为 `wzzh`,导入命令,注意你的文件路径

```bash
mongoimport -d wzzh -c quizzes --file ~/Downloads/questions.json --jsonArray --drop
mongoimport -d wzzh -c questions --file ~/Downloads/questions.json --jsonArray --drop
```

### 答题辅助
### 答题辅助

用你要答题的号登录游戏,抓登录的请求 `https://puzzle-gateway.zaih.com/pauthp/jwt`

Expand Down

0 comments on commit ce2a85d

Please sign in to comment.