Comments (19)
青龙定时任务中 sign.py --10086 xxx.www3 我是这么填写的 填是JESSIONID中的值
from sign.
日志如下:
京东pt_pin和pt_key需同时传入!!!
/ql/data/scripts/sign.py:119: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
/ql/data/scripts/sign.py:136: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("shutdown")
2023-11-15 11:54:57.020 | INFO | main:m10086:740 - 公众号签到 {"code":"GOTO_LOGIN","msg":"需要去登录","data":null,"success":false,"status":"GOTO_LOGIN"}
2023-11-15 11:54:57.238 | INFO | main:m10086:752 - app 签到 {"code":"GOTO_LOGIN","msg":"需要去登录","data":null,"success":false,"status":"GOTO_LOGIN"}
{"code":"GOTO_LOGIN","msg":"需要去登录","data":null,"success":false,"status":"GOTO_LOGIN"}
2023-11-15 11:54:57.444 | ERROR | main:m10086:826 - 10086 2D67AD5AxxxxxxxED972.www3 签到程序异常:'NoneType' object is not subscriptable
from sign.
青龙定时任务中 sign.py --10086 xxx.www3 我是这么填写的 填是JESSIONID中的值
用公众号或app里面的SESSION_TOKEN
from sign.
青龙定时任务中sign.py --10086 xxx.www3 我这么填写的填的是JESSIONID中的值
使用公众号或应用程序里面的SESSION_TOKEN
可以了,反馈一下就是app的签到改版了,现在这个app的签到没签到成功
from sign.
/ql/data/scripts/sign.py:116: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
/ql/data/scripts/sign.py:133: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("shutdown")
执行结束... 2024-02-17 00:15:11 耗时 13 秒
青龙运行同样收到这个报错,请问是失效了吗?
from sign.
/ql/data/scripts/sign.py:116: DeprecationWarning: on_event is deprecated, use lifespan event handlers instead.
Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup") /ql/data/scripts/sign.py:133: DeprecationWarning: on_event is deprecated, use lifespan event handlers instead.
Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("shutdown")
执行结束... 2024-02-17 00:15:11 耗时 13 秒
青龙运行同样收到这个报错,请问是失效了吗?
这种信息不是报错
from sign.
from sign.
/ql/data/scripts/sign.py:116: DeprecationWarning: on_event is deprecated, use lifespan event handlers instead.
Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup") /ql/data/scripts/sign.py:133: DeprecationWarning: on_event is deprecated, use lifespan event handlers instead.
Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("shutdown")
执行结束... 2024-02-17 00:15:11 耗时 13 秒
青龙运行同样收到这个报错,请问是失效了吗?
这种信息不是报错
请问在青龙里面运行是直接在SIGN.PY里面修改下面语句里面的TOKEN变量吗?
tasks += [asyncio.create_task(m10086(**{"token": cache[k]})) for k in cache.iterkeys() if k.startswith("10086_")]
from sign.
/ql/data/scripts/sign.py:116: DeprecationWarning: on_event is deprecated, use lifespan event handlers instead.
Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup") /ql/data/scripts/sign.py:133: DeprecationWarning: on_event is deprecated, use lifespan event handlers instead.
Read more about it in the [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("shutdown")
执行结束... 2024-02-17 00:15:11 耗时 13 秒
青龙运行同样收到这个报错,请问是失效了吗?
这种信息不是报错
请问在青龙里面运行是直接在SIGN.PY里面修改下面语句里面的TOKEN变量吗? tasks += [asyncio.create_task(m10086(**{"token": cache[k]})) for k in cache.iterkeys() if k.startswith("10086_")]
cache就是tmp下的sqlite数据库里面的数据,可以通过diskcache包修改,也可以直接修改表数据
from sign.
京东pt_pin和pt_key需同时传入!!!
/ql/data/scripts/sign.py:124: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
/ql/data/scripts/sign.py:141: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("shutdown")
2024-03-09 13:35:04.216 | INFO | main:weimob:784 - {"errcode":1041,"errmsg":"获取登录信息失败,请重新登录"}
2024-03-09 13:35:04.244 | INFO | main:m10086:818 - 公众号签到 {"code":"GOTO_LOGIN","msg":"需要去登录","data":null,"success":false,"status":"GOTO_LOGIN"}
2024-03-09 13:35:04.597 | INFO | main:m10086:830 - app 签到 {"code":"GOTO_LOGIN","msg":"需要去登录","data":null,"success":false,"status":"GOTO_LOGIN"}
{"code":"GOTO_LOGIN","msg":"需要去登录","data":null,"success":false,"status":"GOTO_LOGIN"}
2024-03-09 13:35:04.940 | ERROR | main:m10086:904 - 10086 bc017e435ba3e579a7cc87ae795f9c607987 签到程序异常:'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/ql/data/scripts/sign.py", line 1832, in
asyncio.run(crontab_task())
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/ql/data/scripts/sign.py", line 1825, in crontab_task
await qqstock(**meta)
File "/ql/data/scripts/sign.py", line 1348, in qqstock
act_id = res.json()["continue_task"]["act_id"]
KeyError: 'continue_task'
请教移动和统一这样提示,是哪里有问题啊?
from sign.
移动好像有点儿问题,晚点修复更新
from sign.
SESSION_TOKEN很快就是失效,很想知道怎么生成的
from sign.
SESSION_TOKEN很快就是失效,很想知道怎么生成的
账号登录接口生成的一种,一般在登录接口的set-cookie中
from sign.
SESSION_TOKEN很快就是失效,很想知道怎么生成的
账号登录接口生成的一种,一般在登录接口的set-cookie中
from sign.
我找不到
from sign.
移动的修复了吗?
from sign.
10086的代码貌似没有修改
from sign.
10086的代码貌似没有修改
from sign.
改版了,app的每日签到重做了新的,只能等大佬修复,而且app是抓不到SESSION_TOKEN,SESSION_TOKEN这个值只能在小程序抓取到,app是不是不用SESSION_TOKEN这个值
from sign.
Related Issues (20)
- 依赖安装成功后,运行uvicorn sign:app --host 0.0.0.0 --port 8081后,为什么http://127.0.0.1:8081/docs打不开? HOT 17
- 南航的网址好像是不能用了吧?csairCookie不是用户名密码形式吧? HOT 2
- 你好,各个签到的变量设置是如何填写的? HOT 1
- 青龙现在支持了吗 HOT 7
- 运行成功,但是打不开是什么 HOT 7
- mac环境终端用代码安装完以后,终端中一直是too many open files,请问怎么删除这些?要崩哭了 HOT 1
- 青龙脚本问题 HOT 1
- 云闪付账户header相关的问题 HOT 3
- 请问南航多token 该怎么拼在环境变量里 谢谢 HOT 1
- 京东签到问题 HOT 4
- 运行不了 HOT 3
- 请问为什么我抓包没有pt_pin和pt_key的? HOT 2
- 青龙怎么删除变量啊 HOT 1
- 青龙错误 HOT 1
- 京东的pt_pin开头并不一定是jd_,可以删去这个判断 HOT 1
- 关于京东无法签到 接口一直返回 {"code":"402","message":"活动现在挤不进去呀,待会再来试试吧"} HOT 2
- 南航问题 HOT 1
- 考虑出app吗
- 几乎均无效了,还更新吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sign.