Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Commit

Permalink
fixed #3456
Browse files Browse the repository at this point in the history
  • Loading branch information
hellodword committed Jun 9, 2021
1 parent 5e0a02a commit 61f60aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions check-transfer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func checkTransfer(bizid string) (newBiz, reason string) {
fp := gofeed.NewParser()
feed, err := fp.ParseString(string(common.Fetch(fmt.Sprintf("https://github.com/hellodword/wechat-feeds/raw/feeds/%s.xml", url.QueryEscape(bizid)))))
if err != nil || feed == nil || len(feed.Items) == 0 {
reason = "解析失败" // 随便处理一下
return
}

Expand Down

0 comments on commit 61f60aa

Please sign in to comment.