Coder Social home page Coder Social logo

smzdm_bot's Introduction

Hi I'm LuckyHunter 👋

  • 🔭 I’m currently working on Linux Platform
  • 🌱 I’m currently learning Python, Shell and Go
  • 👯 I’m looking to collaborate on Github and Telegram
  • 🤔 I’m looking for help with Making Money
  • 💬 Ask me about anything you want if I know
  • 📫 How to reach me: mailto:[email protected]
  • 😄 Pronouns: Nothing
  • ⚡ Fun fact: Reading, Coding, Music, Movies
  • 💬 Be free to ask me about anything here.

Anurag's GitHub stats Streak stats

smzdm_bot's People

Contributors

chasing66 avatar dependabot[bot] avatar googidaddy 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

smzdm_bot's Issues

通知错误

2023-01-11 11:30:28.091 | ERROR | notify.notify:tg_bot:87 - No connection adapters were found for '/bot***/sendMessage'

签到失败

签到失败,提示登录失败,但是如果手机签到后,再执行,就成功显示金币多少啥的

github aciton怎么配置 ??

github aciton怎么配置 ??、github aciton怎么配置 ??、github aciton怎么配置 ??、github aciton怎么配置 ??、、

请问教程说的2.1.1 在哪里?

请问下大佬,docker目录该怎么映射

上几个版本,都在环境里设置就行了,最新版本,环境里设置,说获取不到cookie,所以想问问大佬,能否给个目录映射,好方便改config

建议增加额外奖励的request

我抓了app的额外奖励的数据包,你加到脚本吧
import requests

headers = {
'User-Agent': '',
'request_key': '',
'Cookie': '',
'Content-Length': '95',
'Host': 'user-api.smzdm.com',
'Connection': 'Keep-Alive',
'Accept-Encoding': 'gzip',
}

data = {
'sign': 'AB1D963858B517E6FF6601AF80204162',
'weixin': '0',
'time': '16xxxxxxxx',
'basic_v': '0',
'f': 'android',
'v': '10.4.26',
}

response = requests.post('https://user-api.smzdm.com/checkin/extra_reward', headers=headers, data=data)

但判断是否有额外奖励应该在https://user-api.smzdm.com/vip的res里标注,我没有对比过。建议能加上判断后再request会比较好

报错啦

build
Process completed with exit code 1.
SMZDM Check-in Bot: .github#L1
ubuntu-latest workflows will use ubuntu-22.04 soon. For more details, see actions/runner-images#6399

青龙容器报错Running pip as the 'root'

开始执行... 2023-05-28 09:34:27

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
2023-05-28 09:34:28.074 | INFO | main:load_conf:37 - Please set cookies first

执行结束... 2023-05-28 09:34:28 耗时 1 秒

青龙面板运行脚本报错

什么值得买签到

开始执行... 2023-12-04 17:58:12

WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip is available: 23.0.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
2023-12-04 17:58:18.820 | 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
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 79, in data
"f": self.cookies_dict["device_smzdm"],
KeyError: 'device_smzdm'

执行结束... 2023-12-04 17:58:23 耗时 11 秒   

只设置了ANDROID_COOKIE这个环境变量,从web 端F12拿的 Cookie

IOS Sign key不相同

参考sign部分逻辑时发现一直提示:check Sign Fail,经过反编译发现ios和android端的sign key不一样。

android sign key: apr1$AwP!wRRT$gJ/q.X24poeBInlUJC

ios sign key: zok5JtAq3$QixaA%mncn*jGWlEpSL3E1

给需要的朋友一个参考。

[2023-01-14] 登录验证失败

Run python main.py
2023-01-14 10:23:51.416 | INFO | main:main:90 - Get configration from env
2023-01-14 10:23:52.459 | ERROR | main:checkin:74 - Faile to sign in
2023-01-14 10:23:52.459 | INFO | notify.notify:push_plus:24 - ⚠️ PUSH_PLUS_TOKEN not set, skip PushPlus nofitication
2023-01-14 10:23:52.459 | INFO | notify.notify:server_chain:48 - ⚠️ SC_KEY not set, skip ServerChain notification
2023-01-14 10:23:52.459 | INFO | notify.notify:tg_bot:69 - ⚠️ TG_BOT_TOKEN & TG_USER_ID not set, skip TelegramBot notification
2023-01-14 10:23:52.459 | ERROR | main:main:116 - Fail the Github action job
Error: Process completed with exit code 1.

检测不到tg bot的反向代理网址

平台是青龙面板,用的tg bot,京东脚本和阿里云正常通知,什么值得买没有通知,查看日志有这么一段:
notify.notify:tg_bot:105 - HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url
这应该还是用的官方api吧,应该是没检测到的原因?这个要怎么办?

action自动签到失效是何解?只能手动运行。

on:
workflow_dispatch:

Uncomment below to schedule your job

schedule:
- cron: "0 18 * * *"

修改注释,cron表达式也改过,貌似都不行,是不是还需要调整代码或者设置哪里?因为以前使用过某项目的签到都能自动运行,本项目不知如何实现自动功能。

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.