qq_bot/handler/rss/job.go

14 lines
434 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package rss
func init() {
}
/*
定时检测最新的rss数据是否有更新若有则向对应群发送消息
取出所有订阅信息并根据订阅信息中的feed_id获取对应的rss源信息并根据rss源信息中的url获取最新的rss数据
比较最新的rss数据与订阅信息中的last_item_hash若有更新则向对应群发送消息并更新订阅信息中的last_item_hash
*/
func CheckRssJob() {
}