Code Monkey home page Code Monkey logo

douyin_dynamic_push's Introduction

douyin_dynamic_push

声明:

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

简介

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

运行环境

使用教程

1. 填写config_douyin.ini配置信息

(1)config下的参数

  • signature_server_url为签名服务器url,参考 https://github.com/coder-fly/douyin-signature
  • uid_list为需要扫描的作者uid列表,使用英文逗号分隔,必填(可以从抖音个人主页分享链接,用浏览器打开,从url中获取)
  • sec_uid_list为需要扫描的作者sec_uid列表,使用英文逗号分隔,需与uid_list对应,必填
  • room_id_list为需要扫描的直播间房间号列表,使用英文逗号分隔
  • user_account_list为用于检测开播状态的用户账号列表,使用英文逗号分隔
  • 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,如果启用该推送,则必填

2.安装第三方库

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

3.启动脚本

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

douyin_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.