Giter Club home page Giter Club logo

6dylan6's Introduction

6dy

声明: 此库所有内容仅用于个人学习!!!

国内机(带代理):

ql repo https://js.jdpro.site/https://github.com/6dylan6/jdpro.git "jd_|jx_|jddj_" "backUp" "^jd[^_]|USER|JD|function|sendNotify|utils"

默认代理拉不了,自行找可用代理

国外机:

ql repo https://github.com/6dylan6/jdpro.git "jd_|jx_|jddj_" "backUp" "^jd[^_]|USER|JD|function|sendNotify|utils"

定时随意

线报监控类,入口

带图评价(PC版CK,本库也有简化版可用)入口

简要流程

1、部署青龙并登陆。

2、到配置管理config.sh修改,差不多在17行(特别注意,没有修改此配置,sh类型任务拉不下来);

RepoFileExtensions="js py"修改为 RepoFileExtensions="js py sh" 保存;

3、到订阅管理创建订阅并运行;正确配置参考

4、订阅运行完毕,到定时任务搜索依赖安装任务执行;

4、到环境变量,创建变量,名称: JD_COOKIE,值:抓的CK(要安全就手抓),多个依次创建;

5、配置通知,通知的key填写到配置管理config.sh文件;

6、sendnotify.js文件用库里的到青龙deps目录下,否则会被青龙自带覆盖

笔记

1、任务并发和分组

并发配置方法:

在任务后面加conc JD_COOKIE

如 task XXXXX.js conc JD_COOKIE

任务分组运行方法:

在任务后面加desi JD_COOKIE 需要运行的ck序号

如 task XXXX.js desi JD_COOKIE 1-10 前10个一组运行,2 8 9就是第2/8/9序号的ck执行,以此类推。

2、通知支持一对一推送和显示备注(需用本库sendnotify文件),还有分组通知等用法参考notify.md

备注显示变量如下

export NOTIFY_SHOWNAMETYPE="1" 不做任何变动

export NOTIFY_SHOWNAMETYPE="2" 效果是 : 账号名称:别名(备注)

export NOTIFY_SHOWNAMETYPE="3" 效果是 : 账号名称:pin(备注)

export NOTIFY_SHOWNAMETYPE="4" 效果是 : 账号名称:备注

3、因为青龙有随机延时(可以在配置文件设置为0,默认300秒),所以涉及准点运行的任务,最后加now,如果是desi或conc不用加也会准时跑。

4、青龙系统通知(新增删除任务、登录等通知),需把通知变量写到config.sh文件,在环境变量里只发脚本运行通知哈。

5、如果通知文件发现和库里的不一致,那是被青龙自带的覆盖了,手动拷贝一份到deps目录下。

6、建议调整任务运行超时时间,青龙默认1小时有些跑不完就被强制结束,config.sh里配置。CommandTimeoutTime="3h" 即改为3小时,根据自己ck数量调整。

如需禁止某些CK参加所有活动或某些活动功能,实现重组CK顺序功能,包括随机、优先、轮换、组队、分段等功能,把task_before文件内容复制到配置管理task_before.sh保存

常用变量举例:

Recombin_CK_Mode="1" 全部顺序随机

Recombin_CK_Mode="2" Recombin_CK_ARG1="15" 假设有100个CK,前15个CK按正常顺序靠前,其余CK随机乱序

Recombin_CK_Mode="3" Recombin_CK_ARG1="5" Recombin_CK_ARG2="5" 假设有100个CK,希望前5个账号始终保持在前部,剩余95个账号按照轮换模式每天轮换5个

其他用法具体参考文档

通用变量

代理API模式部分支持

DY_PROXY='URL1@URL2' 多个@分割

PERMIT_API='test' 需要走API代理的js关键词,多个&分割,可不设置,支持的js都会走

DY_PROXY_RENUM='5' 获取IP失败重试次数

DY_PROXY_REDELAY='3' 获取失败重试间隔 单位秒

代理池模式支持全部js脚

DP_POOL='http://xxx' 代理池url

PERMIT_JS='farm&plant&opencard' 需要走代理池的js关键词,多个&分割,必须设置

支持的通知方式

server酱,go-cqhttp,pushdeer,Bark App,tg bot,钉钉bot,企业微信bot,企业微信应用消息,飞书,iGot,push plus,WxPusher,gotify

请在配置管理config文件里填写对应key

6dylan6's People

Contributors

github-actions[bot] avatar

Stargazers

Damon Road avatar Wenduke avatar  avatar  avatar  avatar  avatar xuan avatar  avatar  avatar

Watchers

Lucian avatar

6dylan6's Issues

建议将项目中的 Server酱 链接换成推荐链接

您好,我是 Server酱的作者 Easy 。注意到您的项目中对接或提及了 Server酱,非常感谢对我们的支持。

这里有一个小建议。Server酱最近推出了「推荐返现计划」,您可以在项目中Server酱的官网链接后边加上推荐参数,这样在用户从这里进入Server酱并订阅会员后,您的项目将获得2元/单的佣金。

只需要用微信登录fx.ft07.com ,然后开通计划就可以获得您的推荐链接,佣金会实时地转入开通账号的微信零钱中。

希望这个计划能让您的开源项目更好。


Hello, I am Easy, the author of ServerChan. I noticed that your project has integrated or mentioned ServerChan, and I am very grateful for that.

I have a small suggestion. ServerChan has recently launched a "Referral Cashback Program". You can add a referral parameter to the link to ServerChan's official website in your project. This way, when users enter ServerChan through your link and subscribe to a membership, your project will earn a commission of 2 RMB per subscription.

You just need to log in to fx.ft07.com with WeChat, activate the program, and you will get your referral link. The commission will be instantly transferred to the WeChat Wallet of the account that activated the program.

Even though the earnings might not be substantial, I hope this program can provide some additional support for your open-source project.

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.