diff options
author | siddharth <s@ricketyspace.net> | 2021-11-29 17:39:57 -0500 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-11-29 17:39:57 -0500 |
commit | b2af9479be7642aa9877c147b2bf7e1cf920e16b (patch) | |
tree | 43c293c652ed42561e0f372a6541f8af6e8b12d8 /feed | |
parent | 076d19c7d675b082667d1309e9fa28b64978538b (diff) |
feed: update Feed.processEntry
Barf to stdout when about to download an entry.
Diffstat (limited to 'feed')
-rw-r--r-- | feed/feed.go | 2 |
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 |