All Projects → BeanWei → Wechatbot4xianyu

BeanWei / Wechatbot4xianyu

Licence: mit
🤖 微信订阅机器人 | 🐟 微信订阅机器人之闲鱼二手商品监控

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Wechatbot4xianyu

Article spider
微信公众号爬虫
Stars: ✭ 235 (+319.64%)
Mutual labels:  spider, wechat
Examples Of Web Crawlers
一些非常有趣的python爬虫例子,对新手比较友好,主要爬取淘宝、天猫、微信、豆瓣、QQ等网站。(Some interesting examples of python crawlers that are friendly to beginners. )
Stars: ✭ 10,724 (+19050%)
Mutual labels:  spider, wechat
Weixin Spider
微信公众号爬虫,公众号历史文章,文章评论,文章阅读及在看数据,可视化web页面,可部署于Windows服务器。基于Python3之flask/mysql/redis/mitmproxy/pywin32等实现,高效微信爬虫,微信公众号爬虫,历史文章,文章评论,数据更新。
Stars: ✭ 287 (+412.5%)
Mutual labels:  spider, wechat
Wechat article
爬取微信公众号文章
Stars: ✭ 121 (+116.07%)
Mutual labels:  spider, wechat
Wechat articles spider
微信公众号文章的爬虫
Stars: ✭ 993 (+1673.21%)
Mutual labels:  spider, wechat
Reptile
🏀 Python3 网络爬虫实战(部分含详细教程)猫眼 腾讯视频 豆瓣 研招网 微博 笔趣阁小说 百度热点 B站 CSDN 网易云阅读 阿里文学 百度股票 今日头条 微信公众号 网易云音乐 拉勾 有道 unsplash 实习僧 汽车之家 英雄联盟盒子 大众点评 链家 LPL赛程 台风 梦幻西游、阴阳师藏宝阁 天气 牛客网 百度文库 睡前故事 知乎 Wish
Stars: ✭ 1,048 (+1771.43%)
Mutual labels:  spider
Steamcn Mini Program
SteamCN Forum WeChat Mini Program. SteamCN 蒸汽动力论坛微信小程序
Stars: ✭ 54 (-3.57%)
Mutual labels:  wechat
Super Spider
根据腾讯安全应急响应中心的架构编写的一款超强爬虫(广度优先搜索)
Stars: ✭ 48 (-14.29%)
Mutual labels:  spider
Wego
a wechat sdk for golang
Stars: ✭ 47 (-16.07%)
Mutual labels:  wechat
Weui Sass
sass version for weui
Stars: ✭ 55 (-1.79%)
Mutual labels:  wechat
Dragtodismiss Pangesture
仿微信,微博的大图查看和视频播放 拖拽消失的手势动画。手势单独已抽离出来,可用于任何视图。Simulate Wechat's disappeared gesture animation by dragging when the big picture viewing or video playback . Gestures are separated and can be used in any view
Stars: ✭ 55 (-1.79%)
Mutual labels:  wechat
Last Statement Of Death Row
Last-Statement-of-Death-Row, 人之将死,其言也善
Stars: ✭ 53 (-5.36%)
Mutual labels:  spider
Cloudmusic
网易云爬虫解决方案
Stars: ✭ 51 (-8.93%)
Mutual labels:  spider
Gotools
create some tools use go lang.
Stars: ✭ 54 (-3.57%)
Mutual labels:  spider
Wxapp Img Loader
适用于微信小程序的图片预加载组件
Stars: ✭ 1,049 (+1773.21%)
Mutual labels:  wechat
Vdonate
💰 为你的网站增加个微信、支付宝二维码,方便读者打赏
Stars: ✭ 55 (-1.79%)
Mutual labels:  wechat
Gopay
QQ、微信(WeChat)、支付宝(AliPay)的Go版本SDK。【微信支付V3已支持,推荐使用微信V3接口】
Stars: ✭ 1,034 (+1746.43%)
Mutual labels:  wechat
L Passport
Koa middleware and api sdk for wechat oauth, qq oauth, baidu oauth and weibo oauth
Stars: ✭ 52 (-7.14%)
Mutual labels:  wechat
Antmove
小程序转换器,基于支付宝/微信小程序, 轻松地转换成其它平台的小程序。
Stars: ✭ 1,078 (+1825%)
Mutual labels:  wechat
Wechatbot
A wechat bot implemented in Python.
Stars: ✭ 51 (-8.93%)
Mutual labels:  wechat

🤖 微信订阅机器人

🐟 微信订阅机器人之闲鱼二手商品监控

🔨技术栈及库:

  • python3
  • itchat & wxpy
  • flask
  • flask-mail
  • Mysql + MongoDB + Redis
  • sqlachemy + mongoengine
  • Celery
  • Requests

细节

四个部分: 爬虫 | 交互式微信机器人 | 微信机器人web接口 | 推送
  • 爬虫

    实时爬取闲鱼商品存入Mysql数据库

  • 交互式微信机器人

    自动通过好友,好友订阅爬虫,将好友和需求存入MongoDB

  • 微信机器人web接口

    微信机器人服务接口,主要为推送提供API

  • 推送

    轮询Mysql商品数据库, 根据MongoDB中的数据做分类后请求API将信息推送至微信好友(订阅者)

流程
  • 启动web服务 -> 启动Celery队列任务

  • Celery 启动发出信号将下面四个任务跑起来

    • 爬虫运行
    • 交互式微信机器人运行
    • 更新MongoDB中的微信好友数据
    • 推送服务运行
微信机器人登录

方法一:

服务运行起则会请求登录, 使用 itchat 的回调,调用celery被动任务中的邮件服务,将二维码发送至自己的邮箱然后扫码登录。

方法二:

请求/login这个登录接口获取二维码扫码登录 [暂时行不通]

📌 TODO:

  • 爬虫:
    • 商品去重
  • 推送:
    • 完善商品推送
  • 登录: 控制邮件频率间隔

LICENSE

MIT License Copyright (c) 2019

仅作为学习与交流的项目.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].