1 Star 0 Fork 15

tyrone / 公众号采集

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Zlib

Spring BOOT 实现公众号采集

[TOC]

使用 Spring Boot 实现的 WEB 界面采集公众号文章,按关键词搜索公众号等。文章采集前需要先扫码登录获取 TOKEN。

采集频率不能太快,否则会被微信官方限制,需要等待片刻,或者第二天才能解封。

一、功能列表

1、公众号分类

mpcategory

2、公众号管理

mpinfo

3、文章分类

articlecategory

4、文章管理

4.1 文章列表,点击原始链接可查看文章

mparticle

4.2 文章采集

articlecollection

4.3 关键词搜索,目前实现按公众号标题搜索

keyword

mpresult

二、启动教程

修改application.yml配置即可。

spring:
  datasource:
    url: jdbc:mysql://你的IP:3306/你的数据库?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
    username: root
    password: 密码
erupt:
  uploadPath: D:/erupt/pictures

数据库表和结构,项目第一次启动会自动创建。

不想手动创建业务系统菜单的,可以执行 sql 目录下的e_upms_menu.sql

三、免责声明

本项目仅作学习交流,切勿用于非法途径。使用本项目造成的一切后果,本人概不负责。

四、开源协议

ZLIB

参考项目:Java爬取公众号文章

五、报错问题解决

1.spring测试中循环报错:javax.net.ssl.SSLHandshakeException: No appropriate protocol

找到Java安装目录下D:\Java\jdk1.8.0_291\jre\lib\security中的java.security文件,将对应的SSLv3删掉了,但运行还是出错。最后发现SSLv3后面有两个和它后缀一样的算法TLSv1、TLSv1.1,将它们一起删掉后重启项目,成功解决问题。

2.提示Lock wait timeout exceeded; try restarting transaction

show full PROCESSLIST select * from information_schema.innodb_trx kill 1816

zlib License (C) 2022 CalvinHwang (C) 2021 Haha This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.

简介

Spring Boot 实现公众号文章采集 展开 收起
Zlib
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/tyrone501/mp-weixin-demo.git
git@gitee.com:tyrone501/mp-weixin-demo.git
tyrone501
mp-weixin-demo
公众号采集
master

搜索帮助