can fetch zenshuu with tag
This commit is contained in:
@@ -64,6 +64,9 @@ func (feed Feed) Fetch(ctx context.Context) (Items, error) {
|
||||
|
||||
result := make(Items, 0, len(gfeed.Items))
|
||||
for _, gitem := range gfeed.Items {
|
||||
if gitem.Author == nil {
|
||||
gitem.Author = &gofeed.Person{}
|
||||
}
|
||||
if matches := slices.DeleteFunc(append([]string{
|
||||
gitem.Title,
|
||||
gitem.Description,
|
||||
@@ -97,6 +100,7 @@ func (feed Feed) Fetch(ctx context.Context) (Items, error) {
|
||||
Links: links,
|
||||
Preview: preview,
|
||||
Body: body,
|
||||
Tag: feed.Version.Tag,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user