Giter Site home page Giter Site logo

breaktofree / tieba-api-sentiment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lunatictian/tieba-api-sentiment

0.0 0.0 0.0 39 KB

:arrow_forward: 贴吧API 微信智能控制 贴吧舆情监控 关键词分析 热点分析 python3 爬虫

Python 99.96% Batchfile 0.04%

tieba-api-sentiment's Introduction

Tieba API Sentiment

贴吧API以及关键词提醒,舆情监控,微信陪聊机器人。

😃😃😃😃😃

Time update

  • 2018/7/3 立项
  • 2018/7/12 完成设计
  • 2018/7/14 完成API部分
  • 2018/7/19 修复API部分,完成关键词监控部分
  • 2018/7/20 关键词监控部分上线,微信监控部分测试...
  • 2018/7/20 修复初始化问题
  • 2018/7/23 更新Sentiment人性化设置,加入全新微信机器人监控(myitchat.py)
  • 2018/7/25 更新myitchat以及Sentiment API,添加配置修改内容
  • 2018/7/25 Beta V0.1 上线
  • 2018/7/27 修复若干问题,正式版V1.0上线
  • 2018/7/28 修复因访问速度过快引起的连接重置的bug
  • 2018/10/15 增加时间过滤,修复若干BUG。
  • 2019/6/28 web版失效
  • 2020/4/29 web版生效

相关依赖

python 3+
pip install requests
pip install BeautifulSoup
pip install itchat

使用方法

Windows:

点击目录下的: TiebaStrat.bat

Windows/Linux:

CMD/powershell:python myitchat.py

扫码完成后即可开启贴吧微信助手。

微信机器人

关键词舆情监控

编辑TiebaSetting.conf:

[Setting]
# 休眠周期/秒
sleep = 300
# 监控贴吧
tb = 林俊杰,周杰伦,王力宏
# 开始监控页数
start = 1
# 结束监控页数
end = 3
# 时间控制
Time = 2018-10-14-0
# 0/1  0:过滤Time之前 1:过滤Time之后 

[Customize]
# 关键词
essential = 演唱会,华语乐坛
  1. 启动微信扫码登陆
  2. 输入“开启监控”,即可记录该用户ID并且在之后的监控数据以及配置修改都只有该用户可执行。
  3. 输入“修改配置”,复制模板修改并且发送即可修改。
  4. 享受结果。


详细思路

访问我的博客:

贴吧监控助手


自定义第三方拓展

  • 第三方贴吧请以 TieBa API Util 拓展
  • 舆情功能拓展以及其他功能拓展 Sentiment API
  • 微信机器人拓展 myitchat

以上为建议拓展文件衍生。


TieBa API Util

  • 获取官方贴吧信息
  • 高度自由化的信息收集
  • 可制作第三方客户端
  • 回复以及楼中楼形式

Tieba API 相关说明

Sentiment API

  • 自定义贴吧监控
  • 自定义关键词监控
  • 自定义更新周期
  • 可定制化的信息收集
  • 可作为其他项目工具

Sentiment API 相关说明

myitchat

  • 图灵机器人
  • 智能对话
  • 微信监控舆情
  • 智能化控制

myitchat 相关说明

其他说明

请勿用于商业用途

tieba-api-sentiment's People

Contributors

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