Giter Site home page Giter Site logo

52pojie_sign's People

Contributors

flowercoder avatar roadislong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

52pojie_sign's Issues

关于cookie格式问题

通过getcookie.txt 和edit this cookie插件取的cookie当存入secret的值,都没跑出来
最后还是通过网页上嘴基本的F12复制到的cookie,运行成功了。
希望大侠可以之后更新一个cookie的样例,毕竟还是有很多人都希望用到这个的。

网站开启了JS反爬

我在本地调试了一下,发现requests返回后的网页源码是请开启JavaScript并刷新该页,作者如果有时间的话修复一下。

报错了是因为什么原因呢?

应该是没找到 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.

大佬 请问下

大佬请问下cookie 的书写方式是?cookie?还是COOKIE

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.