Giter Site home page Giter Site logo

青龙面板运行脚本报错 about smzdm_bot HOT 4 OPEN

Theoshen avatar Theoshen commented on August 17, 2024
青龙面板运行脚本报错

from smzdm_bot.

Comments (4)

neverno avatar neverno commented on August 17, 2024

我也是这个错误,希望 @Chasing66 修复下!

from smzdm_bot.

IanSmith123 avatar IanSmith123 commented on August 17, 2024

当前的 main 分支的代码需要的是通过安卓端抓取的 cookie。浏览器端抓 cookie 的代码在 old分支,不一定还能使用。

FYI: Android 抓包的这部分结果如下,你可以尝试把他追加到浏览器端抓的 cookie 里面,万一可以用呢(虽然我感觉希望不太大) :)

device_smzdm=android;device_smzdm_version=10.6.10;device_smzdm_version_code=930;

from smzdm_bot.

Theoshen avatar Theoshen commented on August 17, 2024

@IanSmith123 确实用不了

[notice] A new release of pip is available: 23.0.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
2023-12-12 16:31:50.861 | INFO     | __main__:load_conf:25 - Get configration from env
Traceback (most recent call last):
  File "/ql/data/repo/Chasing66_smzdm_bot/app/main.py", line 81, in <module>
    main()
  File "/ql/data/repo/Chasing66_smzdm_bot/app/main.py", line 69, in main
    msg += tasks.checkin()
  File "/ql/data/repo/Chasing66_smzdm_bot/app/utils/smzdm_tasks.py", line 15, in checkin
    resp = self.bot.request("POST", url)
  File "/ql/data/repo/Chasing66_smzdm_bot/app/utils/smzdm_bot.py", line 92, in request
    data = self.data(extra_data)
  File "/ql/data/repo/Chasing66_smzdm_bot/app/utils/smzdm_bot.py", line 83, in data
    "token": self.cookies_dict["sess"],
KeyError: 'sess'

## 执行结束... 2023-12-12 16:31:57  耗时 8 秒  

from smzdm_bot.

enwaiax avatar enwaiax commented on August 17, 2024

统一回复一下:暂时没时间修复,有空了会尽快修复

from smzdm_bot.

Related Issues (20)

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.