summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* fern: update mainsiddharth2021-11-291-0/+6
| | | | Display number of feeds yet to be processed.
* Makefile: update fmtsiddharth2021-11-291-1/+2
|
* README.md: building -> installingsiddharth2021-11-281-4/+12
|
* README.md: update descriptionsiddharth2021-11-281-1/+3
|
* 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-282-11/+6
| | | | | Don't set YDLPath and DumpDir on Feed in `Validate` function. Set it in the FeedConfig's `validate` function instead.
* fern: flush out mainsiddharth2021-11-281-1/+55
|
* 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.
* state: add ProcessState.DBsiddharth2021-11-281-0/+3
|
* state: add EntryResult.EntryTitlesiddharth2021-11-281-2/+3
|
* state: add Feed.FeedResultsiddharth2021-11-281-2/+3
|
* db: update FernDB.Writesiddharth2021-11-281-1/+1
| | | | Always truncate file before writing.
* feed: update Feed.Lastsiddharth2021-11-281-1/+1
| | | | Change type to `int`.
* feed: add Feed.Lastsiddharth2021-11-281-0/+6
|
* add `state` packagesiddharth2021-11-281-0/+33
|
* remove config/process packagesiddharth2021-11-281-9/+0
|
* feed: Feed.Object -> Feed.Entriessiddharth2021-11-281-17/+23
| | | | | Also refactor nprUnmarshal and youtubeUnmarshal to return []schema.Entry.
* schema: add Entrysiddharth2021-11-281-0/+7
|
* schema: update YouTubeEntrysiddharth2021-11-281-0/+1
| | | | Add 'Title'.
* schema: update NPREntrysiddharth2021-11-281-0/+1
| | | | Add 'Title'.
* feed: update feedsiddharth2021-11-282-3/+11
| | | | Add YDLPath to Feed. Set it during Validate().
* db: add FernDB.Writesiddharth2021-11-282-0/+147
| | | | Writes database to disk.
* db: add FernDB.Addsiddharth2021-11-282-0/+80
|
* db: add FernDB.Existssiddharth2021-11-282-0/+57
|
* db: update TestOpenExistingDBsiddharth2021-11-281-1/+3
| | | | Refactor dbFile closing.
* db: update FernDBsiddharth2021-11-282-0/+20
| | | | Add `mutex` field to the FernDB struct.
* add db packagesiddharth2021-11-283-0/+193
|
* config: add process packagesiddharth2021-11-271-0/+9
|
* README.md: update descriptionsiddharth2021-11-271-1/+1
|
* Makefile: add license headersiddharth2021-11-271-0/+3
|
* Makefile: update `fmt`siddharth2021-11-271-1/+1
| | | | Add config, file, and scheme packages
* README.md: WIPsiddharth2021-11-271-5/+1
|
* 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 schema packagesiddharth2021-11-271-0/+47
|
* add feed packagesiddharth2021-11-272-35/+60
| | | | Move feed type and function to its own package.
* add config packagesiddharth2021-11-271-0/+127
|
* add file packagesiddharth2021-11-271-0/+33
|
* initial commitsiddharth2021-11-276-0/+50