Skip to content

Commit ff5661f

Browse files
committed
百万英雄答题辅助系统
1 parent 4798ea0 commit ff5661f

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,20 @@
141141
* 12306.py:用Python抢火车票简单代码
142142

143143
可以自己慢慢丰富,蛮简单,有爬虫基础很好操作,没有原理说明。
144-
145144

146-
145+
* baiwan:百万英雄辅助答题
146+
147+
效果图:
148+
149+
![image](https://github.com/Jack-Cherish/Pictures/blob/master/11.gif)
150+
151+
功能介绍:
152+
153+
服务器端,使用Python(baiwan.py)通过抓包获得的接口获取答题数据,解析之后通过百度知道搜索接口匹配答案,将最终匹配的结果写入文件(file.txt)。
154+
155+
Node.js(app.js)每隔1s读取一次file.txt文件,并将读取结果通过socket.io推送给客户端(index.html)。
147156

148-
157+
声明:没做过后端和前端,花了一天时间,现学现卖弄好的,javascript也是现看现用,百度的程序,调试调试而已。可能有很多用法比较low的地方,用法不对,请勿见怪,有大牛感兴趣,可以自行完善。
149158

150159

151160

0 commit comments

Comments
 (0)