由于吾爱开启了js反爬,此仓库已失效.有好的解决办法可以留言
roadislong / 52pojie_sign Goto Github PK
View Code? Open in Web Editor NEW吾爱破解自动签到
吾爱破解自动签到
由于吾爱开启了js反爬,此仓库已失效.有好的解决办法可以留言
应该是没找到 messagetext 这个 dom,find报错了
Traceback (most recent call last):
File "/home/runner/work/52pojie_Sign/52pojie_Sign/main.py", line 40, in <module>
main()
File "/home/runner/work/52pojie_Sign/52pojie_Sign/main.py", line 35, in main
sign_msg = sign(cookie=cookie)
^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/52pojie_Sign/52pojie_Sign/main.py", line 21, in sign
fc = fb.find("div", id="messagetext").find("p").text
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'find'
Error: Process completed with exit code 1.
失败了.求更新
通过getcookie.txt 和edit this cookie插件取的cookie当存入secret的值,都没跑出来
最后还是通过网页上嘴基本的F12复制到的cookie,运行成功了。
希望大侠可以之后更新一个cookie的样例,毕竟还是有很多人都希望用到这个的。
main.py 运行环境是啥呀
大佬请问下cookie 的书写方式是?cookie?还是COOKIE
我在本地调试了一下,发现requests返回后的网页源码是请开启JavaScript并刷新该页,作者如果有时间的话修复一下。
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.