Code Monkey home page Code Monkey logo

harbourtoulu's Introduction

【船新脚本使用教程】(脚本发布频道:https://t.me/HarbourToulu)

# 拉库命令:
ql repo https://github.com/HarbourJ/HarbourToulu.git "jd_" "activity|backUp|jd_sign" "^jd[^_]|USER|utils|ql|JD|sendNotify" "main"

🛳不支持部分2.14.x版本青龙(内置python版本为3.11.x),不兼容,建议退回2.13.x及以下版本或更新到最新的2.15.x版本(内置python版本为3.9.x-3.10.x)

本项目所有算法都编译在jd_sign.so文件内,所以拉库后请先安装jd_sign.so依赖文件

  • 方式一:运行一键安装脚本(jd_check_sign.py),实现一键式全自动安装sign本地依赖文件
  • 方式二:若自动安装报错,可去【 https://github.com/HarbourJ/HarbourToulu/releases 】下载架构与Py版本适配的文件解压放置 /scripts/HarbourJ_HarbourToulu_main文件夹内。

📢特别说明:运行监控脚本需要安装redis以缓存Token缓解高峰期403问题

docker-redis安装教程: 

①.先安装redis
复制以下命令到ssh一键安装

mkdir -p /mydata/redis/conf
touch /mydata/redis/conf/redis.conf
docker run -p 6379:6379 --name redis \
-v /mydata/redis/data:/data \
-v /mydata/redis/conf/redis.conf:/etc/redis/redis.conf \
-itd redis redis-server /etc/redis/redis.conf \
--appendonly yes

②.再青龙安装Python的redis依赖 (依赖管理 python3-->新建依赖-->redis)
配置文件设置redis环境变量(可不填,使用默认127.0.0.1:6379):

export redis_url=""  # 填redis服务器ip
export redis_port=""   # 支持更换自定义端口
export redis_pwd=""  # 未设置redis密码就空着


运行库里redisTest测试脚本(jd_redisTest.py)测试redis是否正常连接。

【🛳船长库脚本汇总及变量🛳】

  • jinggeng邀请入会有礼 (jd_jinggengInvite.py) 变量: export jinggengInviteJoin="活动🆔&shopid"

  • 微定制组队通用脚本(jd_wdz.py) 变量: export jd_wdz_activityId="活动🆔"

  • 邀好友赢大礼(jd_inviteFriendsGift.py) 变量: export jd_inv_authorCode="活动🆔"

  • 一键领取店铺会员礼包(jd_shopCollectGift.py) 变量: export jd_shopCollectGiftId="活动🆔"

  • 特效关注有礼 (jd_wxShopGift.py) 变量: export jd_wxShopGiftId="活动🆔"

  • 生日礼包(jd_wxBirthGifts.py) 变量: export jd_wxBirthGiftsId="活动🆔"

  • 完善信息有礼(jd_wxCompleteInfo.py) 变量: export jd_wxCompleteInfoId="活动🆔&venderId"

  • 加购有礼(jd_wxCollectionActivity.py) 变量: export jd_wxCollectionActivityUrl="活动🔗" 默认跑前10个账号,可自定义运行加购账号数量,变量:export jd_wxCollectionActivityRunNums="需要运行账号数量"

  • jd_shopFollowGift.py(关注有礼-JK) 脚本变量: export jd_shopFollowGiftId="shopId1&shopId2&..." #变量为店铺🆔; export jd_shopFollowGiftRunNums="需要运行账号数量"

  • jd_wxShopFollow.py(关注店铺有礼-JK) 脚本变量: export jd_wxShopFollowId="活动🆔" #变量为店铺🆔; export jd_wxShopFollowRunNums="需要运行账号数量,默认前12个账号"

  • jd_dpcj.py(店铺抽奖-JK) 脚本变量: export DPCJID="shopId1&shopId2&..." #变量为店铺🆔

  • 通用开卡-shopLeague系列脚本(jd_shopLeague_opencard.py) 变量: export jd_shopLeagueId="活动🆔" 并发变量: export jd_shopLeagueId_uuid=“你的助力码”

  • 通用开卡-joinCommon系列脚本(jd_joinCommon_opencard.py) 脚本变量: export jd_joinCommonId="活动🆔&shopid" 并发变量: export jd_joinCommon_uuid=“你的助力码”

  • jd_lzkjInteract邀请有礼(jd_lzkjInteract.py) 脚本变量: export jd_lzkjInteractUrl="活动链接🔗" 并发变量: export jd_lzkjInteractUserId=“你的助力码”

harbourtoulu's People

Contributors

harbourj avatar

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.