fzls / djc_helper Goto Github PK
View Code? Open in Web Editor NEWDNF蚊子腿小助手
DNF蚊子腿小助手
大佬自己打包源码为exe用啥工具啊,python环境都有
暂时只能先禁掉闪光杯了,如果有时间的话,还是希望这边能修复,谢谢了
【目录名称含有违规信息】
登录步骤有点繁琐,可以获取二维码图片实现扫码登录的,应用id和dnf可以用同一个
appId:21000127
daid:8
已退游,这是我之前写的程序 dnf活动助手
由于目前默认开启所有功能,因此很不方便添加这样的小号.... 如果不管的话,又会导致脚本执行时间变长
8.3.0版本发现问题,用简易配置工具勾选了“强制使用便携版”和“自动登录模式不显示浏览器界面”,昨晚执行完后关闭了小助手界面,今早在任务管理器里发现了内置的便携版chrome进程还在
调试模式下 log 为
22:57:55 _new_conn:1001 DEBUG: Starting new HTTPS connection (1): act.qzone.qq.com:443
22:57:55 _make_request:456 DEBUG: https://act.qzone.qq.com:443 "POST /v2/vip/tx/p/42163_******** HTTP/1.1" 404 None
22:57:55 fetch_data:527 DEBUG: 出错了
Traceback (most recent call last):
File "...\djc_helper\qzone_activity.py", line 522, in fetch_data
prefix_idx = page_html.index(data_prefix) + len(data_prefix)
ValueError: substring not found
22:58:00 wrapper:684 ERROR: 执行show_lottery_status(('卡片赠送完毕后展示各账号抽卡卡片以及各礼包剩余可领取信息', <config.Config object at 0x000002A74D7EF5E0>), {'need_show_tips': True})出错了
(已隐去部分隐私信息)
dnf官方论坛签到时formhash过期且cookie未过期时,签到接口会返回状态为200的空body,导致签到失败。
不带formhash且cookie有效时会返回一个错误提示,body为html。
可以使用无formhash+带cookie访问一次签到接口,返回中class为logout的a标签的herf(如下)可直接获得当前有效的formhash
<a class="logout" href="member.php?mod=logging&action=logout&formhash=xxxxxx">退出登陆</a>
可使用正则(?<=<a class=\"logout\" href=\")([^\"]*)
直接获取。
结果为member.php?mod=logging&action=logout&formhash=xxxxxxxx
,在通过urllib.parse即可直接获取当前有效的formhash
pak_list = member.pak.split("|")
抛出异常,因为 member.pak
为 False
不知道是不是我这边的问题
Traceback (most recent call last):
File "util.py", line 731, in wrapper
File "djc_helper.py", line 895, in take_mobile_game_gift
File "djc_helper.py", line 1353, in get_mobile_game_gifts
KeyError: 'data'
请帮忙看看是什么原因造成的呀,其他一切正常。
21:02:48 try_request:77 WARNI: 3/3: request failed, wait 5s。异常补充说明如下:
21:02:48 try_request:81 ERROR: 重试3次后仍失败
21:02:48 :155 ERROR: ver 9.5.0 (发布于2021.4.29,距今已有1天啦) 运行过程中出现未捕获的异常,请加群743671885反馈 或自行解决。
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.