summaryrefslogtreecommitdiffstats
path: root/feed/feed.go
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-11-29 17:39:57 -0500
committersiddharth <s@ricketyspace.net>2021-11-29 17:39:57 -0500
commitb2af9479be7642aa9877c147b2bf7e1cf920e16b (patch)
tree43c293c652ed42561e0f372a6541f8af6e8b12d8 /feed/feed.go
parent076d19c7d675b082667d1309e9fa28b64978538b (diff)
feed: update Feed.processEntry
Barf to stdout when about to download an entry.
Diffstat (limited to 'feed/feed.go')
-rw-r--r--feed/feed.go2
1 files changed, 2 insertions, 0 deletions
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