NewComer00

Results 15 comments of NewComer00

> 为什么我选择不了日期,而且刷票还存在error提示 error提示是正常的,因为原作者代码里输出函数全写的是“以error的方式输出”,其实是正常的。我修改的代码可以一直正常进行到成功抢票之前,抢票成功后填写信息时的API应该改过了,会提示“提交后跳转到首页了,抢票不成功”,还要进一步修改

@happyin123 我修复了一下,现在测试了两个医院的普通门诊挂号,是可以挂到号的。 结合以上几位的答案,并且做了些微调。大家也可以试试看,用下面的链接中的代码替换掉main.py的全部内容即可。 https://github.com/NewComer00/health160/blob/patch-1/main.py 具体修改内容: https://github.com/lwm98/health160/pull/52/files 1. user_key相关,大致按前面那位兄弟说的来改的。 2. 第475行,doctors信息的json存放位置发生了变动。 3. 第309行开始的data字典,更新了提交信息的字典的一些字段。

> 为什么我无法选择日期,进入到医生序号后就直接开始挂号了 @NewComer00 因为作者的源代码默认就是这么写的。你要指定周几或者上下午的话,需要在```configs```里面修改```weeks```和```days```的键值。如果想交互填写,把它俩的键值填```[]```就行。 ``` # 请修改此处,或者保持为空 configs = { 'username': '', # 记住账号请填入这里 'password': '', # 记住密码请填入这里 'city_index': '', 'unit_id': '', 'dep_id': '', 'doc_id': '', 'weeks': ['1','2','3','4','5','6','7'], # 如需更改,例:...

> 'weeks': ['1','2','3','4','5','6','7'],周一二三四五六日 ['1','2','3','4','5','6','7'], # 如需更改,例: 周一 ['1'] 周一三五 ['1','3','5'] 周二四 ['2','4'] 'days': ['am','pm'],上午 ['am'],下午 ['pm'],全天 ['am','pm'] 不会修改啊大神 救命 @NewComer00 ```'weeks': ['1','2','3','4','5','6','7'],```表示我希望预约周一到周日**任意一天**的号;```'weeks': ['1','2'],```表示我**只希望预约周一或周二**的号;```'weeks': [],```表示我希望在运行脚本时**手动选择**周几的号。 ```'days': ['am'],```表示我希望预约某天上午的号;```'days': ['pm'],```表示我希望预约某天下午的号;```'days': ['am','pm'],```表示上下午皆可;```'days': [],```表示我希望在运行脚本时**手动选择**。 你有更多的问题可以发到我的邮箱```[email protected]```,因为这些已经和本issue的主题无关了。

您好,请问是用了我的[补丁](https://github.com/lwm98/health160/issues/50#issuecomment-1214824770)吗?我这里测试挂深圳(9)的北京大学深圳医院(1)的新冠检测科(200177036)是没问题的,可以约上。 如果用了补丁还是有问题,请提供城市、医院和科室号,我这里复现一下。

I found [this answer](https://stackoverflow.com/a/68275764) in stackoverflow. The "[add_loss](https://www.tensorflow.org/api_docs/python/tf/keras/layers/Layer#methods_2)" method seems to solve my problem. Here is my code, and hope it can help :) ```py def ppo_loss(y_true, y_pred, oldpolicy_probs, advantages,...

Just to add that **Windows might not use UTF-8 encoding by default**. On my Windows PC, the default regional setting is `English (United States)` and [chcp](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chcp) command returns `437` in...

Same issue here😢 I have been using `glow` for a long time, and I love this elegant TUI tool. I hope it could be fixed soon. ## Description When some...

I also did the test using [`Textualize/rich`](https://github.com/Textualize/rich), which seems to be fine. In the following code, `rich` uses `less -r` as its [pager command](https://rich.readthedocs.io/en/stable/console.html#paging). Maybe the problem lays in the...

直接原因是,在当前环境中构建opencv包时,缺少distutils包。 根本原因是,requirements.txt中指定的包版本太老,仅用作复现结果时的参考。实际使用时可以删除其中指定的包版本号,使用新版本的包。