feat: 在 ParseFeed 函数中添加日志记录以输出 RSS 数据的主体内容
This commit is contained in:
parent
06ba479094
commit
5eda01f209
@ -147,6 +147,8 @@ func ParseFeed(feedURL string) (string, []RssItem, error) {
|
||||
return "", nil, fmt.Errorf("读取RSS数据失败: %v", err)
|
||||
}
|
||||
|
||||
log.Printf("Body: %s", string(body))
|
||||
|
||||
// 首先尝试解析为RSS格式
|
||||
title, items, err := parseRSSFormat(body)
|
||||
if err == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user