Giter Site home page Giter Site logo

jd_scripts's Issues

【功能建议】tg bot增加多用户功能

目前同一个bot只能由同一个用户使用,希望能加入多用户功能。
具体需求:TG_USER_ID能输入多个id,里面的人都可以用bot。
通过bot加入的cookie会跟用户绑定,相关通知消息分用户推送。

循环出现错误node: Argument list too long

/bin/ash: /scripts/docker/auto_help.sh: line 33: grep: Argument list too long
/bin/ash: /scripts/docker/auto_help.sh: line 33: grep: Argument list too long
/bin/ash: /scripts/docker/auto_help.sh: line 40: awk: Argument list too long
/bin/ash: /scripts/docker/auto_help.sh: line 40: awk: Argument list too long
/bin/ash: /scripts/docker/auto_help.sh: line 40: awk: Argument list too long
/bin/ash: /scripts/docker/auto_help.sh: line 40: sed: Argument list too long
ash: -le: argument expected
/bin/ash: /scripts/docker/auto_help.sh: line 51: awk: Argument list too long
ash: -gt: argument expected
/bin/ash: node: Argument list too long

今天凌晨大量出现这种错误,很多脚本都无法正常运行了。哪位知道是什么原因导致吗

jd_beauty 抛出错误

D:\qiandao>node jd_beauty 1>>D:\qiandao\Result\Result.TXT
(node:12660) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'coins' of undefined
at WebSocket.client.onmessage (D:\qiandao\jd_beauty.js:500:36)
(Use node --trace-warnings ... to show where the warning was created)
(node:12660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:12660) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:12660) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'coins' of undefined
at WebSocket.client.onmessage (D:\qiandao\jd_beauty.js:500:36)
(node:12660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

报Error: Cannot find module './jdCookie.js',怎么解决呀

开始执行... 2021-11-24 15:44:01

🔔闪购盲盒, 开始!
node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module './jdCookie.js'
Require stack:

  • /ql/scripts/chinnkarahoi_jd_scripts/jd_sgmh.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (/ql/scripts/chinnkarahoi_jd_scripts/jd_sgmh.js:28:35)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/ql/scripts/chinnkarahoi_jd_scripts/jd_sgmh.js' ]
    }

执行结束... 2021-11-24 15:44:01 耗时 0 秒

更新/ql/repo/chinnkarahoi_jd_scripts失败 ,怎么解决啊

[root@iZ9e9xetvr7c85Z ~]# docker exec -it qinglong ql repo https://ghproxy.com/https://github.com/chinnkarahoi/jd_scripts.git "jd_|jx_|getJDCookie" "activity|backUp" "^jd[^_]|USER"

开始克隆仓库 https://ghproxy.com/https://github.com/chinnkarahoi/jd_scripts.git 到 /ql/repo/chinnkarahoi_jd_scripts

Cloning into '/ql/repo/chinnkarahoi_jd_scripts'...
fatal: unable to access 'https://ghproxy.com/https://github.com/chinnkarahoi/jd_scripts.git/': Could not resolve host: ghproxy.com

更新/ql/repo/chinnkarahoi_jd_scripts失败,请检查原因...

希望在请求公用方法上加上超时时间

有一些时间比较长的任务,比如cfd之类的跑着跑着经常卡住不动,后来百度查到request没加超时默认无限期等待。希望后期update的时候能加上timeout

代码库key失效了

lxk0301脚本代码库失效了?
Access deined: DeployKey not enabled
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

求教一下docker的问题

ERROR: The Compose file '.\docker-compose.yml' is invalid because:
Unsupported config option for jd_scripts: 'deploy'
按照教程弄的,百度了很久也没解决真诚的求教

fix: 运行jd_crazy_joy_coin.js脚本出现UnhandledPromiseRejectionWarning,请问如何处理

PS C:\Users\Admin\Desktop\jd_activity> node jd_crazy_joy_coin.js

�crazyJoy挂机, 开始!

====================共有1个京东账号Cookie=========

==================脚本执行- 北京时间(UTC+8):2021-6-1 5:23:06 ├F10: PM┤=====================

挂机开始,自动8s收一次金币
============开始第1次挂机=============
(node:10924) UnhandledPromiseRejectionWarning: Error: Cannot find module 'got'
Require stack:

  • C:\Users\Admin\Desktop\jd_activity\jd_crazy_joy_coin.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
    at Function.Module._load (internal/modules/cjs/loader.js:841:27)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.initGotEnv (C:\Users\Admin\Desktop\jd_activity\jd_crazy_joy_coin.js:835:3742)
    at Object.post (C:\Users\Admin\Desktop\jd_activity\jd_crazy_joy_coin.js:835:5658)
    at C:\Users\Admin\Desktop\jd_activity\jd_crazy_joy_coin.js:797:7
    at new Promise ()
    at TotalBean (C:\Users\Admin\Desktop\jd_activity\jd_crazy_joy_coin.js:783:10)
    at C:\Users\Admin\Desktop\jd_activity\jd_crazy_joy_coin.js:174:15
    (node:10924) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate
    the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
    (node:10924) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

青龙面板京喜签到出错

❗️京喜签到, 错误!
TypeError: data.data.tasks is not iterable
at /ql/scripts/chinnkarahoi_jx_sign.js:121:38
at isSurge.isLoon.isQuanX.isNode.got.on.then.message (/ql/scripts/chinnkarahoi_jx_sign.js:315:4869)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
任务完成失败,错误信息not sign
请教

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.