Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我复制bash然后python转换后填写到main.py cookie.py执行脚本日志没报错,但是阅读时间没加 #1

Open
madman163 opened this issue Oct 12, 2024 · 10 comments

Comments

@madman163
Copy link

image
image
F12复制bash转换python后
main.py填写了headers cookies data里面的内容
cookie.py填写了headers cookies

@findmover
Copy link
Owner

data是没有['s']字段的,如果抓到需要去掉,注意排查字段问题。阅读时长是实时增加的,每1分钟查看进度是否增加。脚本目前还能正常使用。

@madman163
Copy link
Author

data是没有['s']字段的,如果抓到需要去掉,注意排查字段问题。阅读时长是实时增加的,每1分钟查看进度是否增加。脚本目前还能正常使用。

抓包后cookie.py里面的配置需要修改么,还是改main里面的就可以

@findmover
Copy link
Owner

cookie肯定要改的,不然就是一直给我刷时长。有两种方式可以更改cookie,
1.根据main里有的字段替换到cookie字段中。
2.自行抓取renew接口,这个时间有点久。
基本第一种方式就可以了

@Loongphy
Copy link

我也遇到了同样的问题,不加时长。
data['s'] 昨日去除后,运行正常,今日却无法增加时长。
更新 cookie, header 和 data 均无效。

@findmover
Copy link
Owner

我更新了2.0版,可以重新试一试。

@Loongphy
Copy link

我更新了2.0版,可以重新试一试。

有效果,但是阅读时间对不上,10分钟=3分钟有效时长

@findmover
Copy link
Owner

奇怪的问题,应该是等同增长的

@madman163
Copy link
Author

奇怪的问题,应该是等同增长的
我read接口copy to bash 进行转换,字段少了好多啊
填写了执行,时间确实不加 哪里出了问题

image

@SHLE1
Copy link
Contributor

SHLE1 commented Nov 4, 2024

确实是10分钟=3分钟有效时长

@findmover
Copy link
Owner

刚刚拿小号测试了一下,应该与书籍相关,建议替换capture.py中的【headers】、【cookies】字段,【data】字段保留。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants