From b2af9479be7642aa9877c147b2bf7e1cf920e16b Mon Sep 17 00:00:00 2001 From: siddharth Date: Mon, 29 Nov 2021 17:39:57 -0500 Subject: feed: update Feed.processEntry Barf to stdout when about to download an entry. --- feed/feed.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'feed') diff --git a/feed/feed.go b/feed/feed.go index 3cd3828..c4fa5e0 100644 --- a/feed/feed.go +++ b/feed/feed.go @@ -178,6 +178,8 @@ func (feed *Feed) processEntry(entry schema.Entry, erc chan state.EntryResult) { er := state.EntryResult{entry.Id, entry.Title, nil} // Download entry. + fmt.Printf("[%s][%s] Going to download %s\n", feed.Id, + entry.Id, entry.Title) err := feed.ydl(entry.Link) if err != nil { er.Err = err -- cgit v1.2.3