Giter Club home page Giter Club logo

xhs_dynamic_push's Introduction

强烈推荐使用功能更全的【✨多合一动态检测与推送✨】:https://github.com/nfe-w/aio-dynamic-push

xhs_dynamic_push

声明:

  • 本仓库发布的xhs_dynamic_push项目中涉及的任何脚本,仅用于测试和学习研究,禁止用于商业用途
  • nfe-w 对任何脚本问题概不负责,包括但不限于由任何脚本错误导致的任何损失或损害
  • 以任何方式查看此项目的人或直接或间接使用xhs_dynamic_push项目的任何脚本的使用者都应仔细阅读此声明
  • nfe-w 保留随时更改或补充此免责声明的权利。一旦使用并复制了任何相关脚本或xhs_dynamic_push项目,则视为已接受此免责声明
  • 本项目遵循MIT LICENSE协议,如果本声明与MIT LICENSE协议有冲突之处,以本声明为准

简介

定时检测指定博主的动态,如果发生变化进行推送

Docker(推荐)

# 启动容器
docker run -d -v ~/config_xhs.ini:/mnt/config_xhs.ini --name xhs_dynamic_push nfew/xhs_dynamic_push:latest

运行环境

使用教程

1. 填写config_xhs.ini配置信息

(1)config下的参数

  • uid_list为需要扫描的博主profileId列表,使用英文逗号分隔,从PC web端获取,必填
  • intervals_second为扫描间隔秒数,不建议过于频繁,必填
  • begin_time为扫描开始时间,非必填,不支持跨日期
  • end_time为扫描停止时间,非必填,不支持跨日期

(2)proxy_pool下的参数

(3)push_serverChan下的参数

(4)push_serverChan_turbo下的参数

  • enable是否启用serverChan_Turbo推送
  • serverChan_SendKey如果启用该推送,则必填,参考 https://sct.ftqq.com

(5)push_wechat下的参数

  • enable是否启用微信推送
  • corp_id企业id,如果启用该推送,则必填
  • agent_id应用id,如果启用该推送,则必填
  • corp_secret应用Secret,如果启用该推送,则必填

(6)push_dingtalk下的参数

  • enable是否启用钉钉bot推送
  • access_token机器人access_token,如果启用该推送,则必填

2.安装第三方库

pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/

3.启动脚本

nohup python3 -u main.py >& xhs_dynamic_push.log &

xhs_dynamic_push's People

Contributors

nfe-w 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.