episode

package
v0.0.0-...-703faa6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2022 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(episode Episode) error

Download audio file from an episode.

func GetPodcastFeed

func GetPodcastFeed(url string) (*gofeed.Feed, error)

Get feed from url, cancels if it takes 10+ seconds.

Types

type Episode

type Episode struct {
	PodcastTitle string
	Number       int
	Title        string
	FileURL      string
	Date         string
}

func GetEpisodes

func GetEpisodes(feed *gofeed.Feed) []Episode

Get data from Feed and put it into an Episode struct, returns a slice of episodes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL