pengpan / 91160 Goto Github PK
View Code? Open in Web Editor NEW健康160全自动挂号脚本
License: Apache License 2.0
健康160全自动挂号脚本
License: Apache License 2.0
家庭管理有多位,是优先给默认选择人吗
你好 我也想抢医生的号 一直抢不到 可以告诉我如何使用你的脚本吗谢谢
想要添加其它城市,对应的ID在哪里找到呢?
刷票大概20多分钟后出现异常
2020-07-20 10:58:19,593 - root - INFO - 努力刷票中...
2020-07-20 10:58:30,892 - root - INFO - 努力刷票中...
2020-07-20 10:58:41,856 - root - INFO - 努力刷票中...
2020-07-20 10:58:52,992 - root - INFO - 努力刷票中...
2020-07-20 10:59:04,373 - root - INFO - 努力刷票中...
2020-07-20 10:59:15,332 - root - INFO - 努力刷票中...
2020-07-20 10:59:26,174 - root - INFO - 努力刷票中...
2020-07-20 10:59:37,729 - root - INFO - 努力刷票中...
2020-07-20 10:59:48,020 - root - ERROR - 刷票异常: {'status': 403, 'msg': '#1:no access'}
是被限制访问了吗?你们用的时候是如何规避的呢
<![endif]-->
<script type="text/javascript"> /** * 倒计时 * @param totalTime */ function jump(totalTime) { if (totalTime < 1) { location.href = "https://www.91160.com"; } else { totalTime--; $('#time_num').text(totalTime); setTimeout(function () { jump(totalTime); }, 1000); } } //开始倒计时 jump(20); </script>请问是否可以修改刷新时间
提示预约成功,但是登录官网缺没有任何信息,也没有发短信,这是咋回事?
我提交的是页面上的uid,以uid-1111的形式输入的,和单纯数字的形式输入的,都显示不正确。在页面上也没找到医院序号,请问这是怎么回事?
2021-01-21 15:00:02,457 - root - INFO - 刷到票了,开抢了...
2021-01-21 15:00:11,748 - root - INFO - https://www.91160.com/guahao/ystep1/uid-**/depid-4***/schid-600924279884b*****195b7f.html
Traceback (most recent call last):
File "main.py", line 536, in <module>
run()
File "main.py", line 526, in run
get_ticket(tickets[0], unit_id, dep_id)
File "main.py", line 297, in get_ticket
"detlid": soup.select('#delts li')[0].attrs["val"],
KeyError: 'val'
另外有点拙见,能否不登录的情况下先去查号,等查到有号再立马登录下单,会不会就不403了
2021-08-26 09:49:26,208 - root - ERROR - '' is not in list
Traceback (most recent call last):
File "/Users/z/Desktop/workspace/health160/91160-master/main.py", line 549, in
run()
File "/Users/z/Desktop/workspace/health160/91160-master/main.py", line 515, in run
init_data()
File "/Users/z/Desktop/workspace/health160/91160-master/main.py", line 509, in init_data
set_doctor_configs()
File "/Users/z/Desktop/workspace/health160/91160-master/main.py", line 447, in set_doctor_configs
doctors = r.json()["doc"]
KeyError: 'doc'
人多的时候会报这样的错是怎么回事?
如何添加其他城市?
我打印了一下响应,提示<bound method Response.json of <Response [404]>>,这个地址https://www.91160.com/guahao/ystep1/uid-{}/depid-{}/schid-{}.html
不知道 一直提示红色的:2022-03-20 16:58:28,870 - root - ERROR - 努力刷票中...
努力刷票中...
算不算正常?
在刷票之前也会提示:
2022-03-20 15:58:08,323 - root - ERROR - https://www.91160.com/doctors/index/docid-100048020.html
https://www.91160.com/doctors/index/docid-100048020.html
https://github.com/pengpan/91160/blob/master/main.py#L181 y_state这个字段网站去除了,会一直刷不到票
北大深圳医院有号却无法挂上。 账号有多个就诊人。
一直2021-09-26 17:38:19,888 - root - INFO - 努力刷票中...
2021-09-26 17:38:35,305 - root - INFO - 努力刷票中...
2021-09-26 17:38:50,654 - root - INFO - 努力刷票中...
2021-09-26 17:39:06,089 - root - INFO - 努力刷票中...
2021-09-26 17:39:21,479 - root - INFO - 努力刷票中...
如 https://www.91160.com/dep/getschmast/uid-{}/depid-{}/date-{}/p-0.html
,是怎么找到的?
出于性能考量,我想仅获取特定医生的可预约信息(如页面 https://www.91160.com/doctors/index/unit_id-{}/dep_id-{}/docid-{}.html
)。寻找接口链接应该从哪下手呢?
深圳挂个牙科太难了。
城市数据:https://github.com/pengpan/91160/blob/master/cities.json
Originally posted by @pengpan in #15 (comment)
感谢分享!试着挂了个号,提示挂号成功,但是我并没有收到短信,也和医院核实了,确实没有挂上,这是哪里操作不对?
2021-01-06 11:34:15,375 - root - INFO - <script>function sptips(){alert("请填写城市地址信息");window.history.back();}</script>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.