summaryrefslogtreecommitdiffstats
path: root/feed/feed.go
Commit message (Collapse)AuthorAgeFilesLines
* feed: update `Feed.Process`siddharth ravikumar2022-11-261-1/+1
| | | | Fix handling that processes last `Feed.Last` entries.
* feed: update `Feed.processEntry`siddharth ravikumar2022-11-261-1/+1
| | | | Update stdout string. Add quotes arount the entry title.
* feed: update `Feed.Validate`siddharth ravikumar2022-11-261-1/+1
| | | | Allow "podcast" schema.
* feed: update `Feed.unmarshal`siddharth ravikumar2022-11-261-0/+6
| | | | Add handling to unmarshal 'podcast' feeds.
* feed: add `podcastUnmarshal`siddharth ravikumar2022-11-261-0/+35
|
* feed: fix `go vet` warningssiddharth ravikumar2022-11-251-4/+22
|
* feed: update Processsiddharth2022-04-171-10/+23
| | | | Add capability to filter entries based on title.
* feed: update ydlv0.2.3siddharth2022-04-161-2/+1
| | | | Don't barf out output from the ydl program.
* feed: update ydlv0.1.0siddharth2021-11-291-12/+3
| | | | | | Instead of 'cd'ing into the dumpdir, use the '-o' flag in youtube-dl to specify the directory under which the enttry needs to be downloaded to.
* feed: update Feed.processEntrysiddharth2021-11-291-0/+2
| | | | Barf to stdout when about to download an entry.
* feed: update Feed.Processsiddharth2021-11-291-0/+6
| | | | Display number of entries yet to be processed.
* feed: flesh out feed.processEntrysiddharth2021-11-281-2/+32
|
* feed: update Processsiddharth2021-11-281-3/+4
| | | | | Make a copy of `entry` into `e` in the loop that processes all Entries. Then use `e` instead of `entry`.
* feed: fix Validatesiddharth2021-11-281-9/+2
| | | | | Don't set YDLPath and DumpDir on Feed in `Validate` function. Set it in the FeedConfig's `validate` function instead.
* feed: add Feed.Processsiddharth2021-11-281-0/+80
| | | | | | Main function that gets, parses, and downloads entries in the feed. The Feed.processEntry function is a stub for now.
* feed: update Feed.Lastsiddharth2021-11-281-1/+1
| | | | Change type to `int`.
* feed: add Feed.Lastsiddharth2021-11-281-0/+6
|
* feed: Feed.Object -> Feed.Entriessiddharth2021-11-281-17/+23
| | | | | Also refactor nprUnmarshal and youtubeUnmarshal to return []schema.Entry.
* feed: update feedsiddharth2021-11-281-2/+10
| | | | Add YDLPath to Feed. Set it during Validate().
* feed: add unmarshalsiddharth2021-11-271-0/+22
| | | | Unmarshals the feed and sets Feed.Object
* feed: add youtubeUnmarshalsiddharth2021-11-271-0/+17
| | | | Unmarshler for a YouTube Feed.
* feed: add nprUnmarshalsiddharth2021-11-271-0/+23
| | | | Unmarshler for a NPR Feed.
* feed: add `get`siddharth2021-11-271-0/+28
| | | | HTTP GETs raw feed from Feed.Source
* feed: update Feedsiddharth2021-11-271-0/+1
| | | | Add `Object` field.
* add feed packagesiddharth2021-11-271-0/+55
Move feed type and function to its own package.