all repos — honk @ 186cd6ede048c09733991514eef34bf13b536465

my fork of honk

only grab rss links once
Ted Unangst tedu@tedunangst.com
Tue, 27 Feb 2024 16:24:58 -0500
commit

186cd6ede048c09733991514eef34bf13b536465

parent

a3110723adad4a749c7aa75c24f41254bcb71a62

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M syndicate.gosyndicate.go

@@ -25,6 +25,10 @@ reverseItems(rss.Items)

for _, item := range rss.Items { var final string dlog.Printf("link: %s", item.Link) + if x := getxonk(user.ID, item.Link); x != nil { + dlog.Printf("already have it") + continue + } j, err := GetJunkTimeout(user.ID, item.Link, fastTimeout*time.Second, &final) if err != nil { dlog.Printf("unable to fetch link: %s", err)