gocast

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 10 Imported by: 0

README

gocast

gocast is a program for downloading podcasts from acast.com via rss feed.

Build

git clone https://github.com/philippdrebes/gocast.git
cd gocast
make build

Install

make install

Usage

Hello Gocast!
usage: gocast [-h|--help] -n|--name "<value>" [-o|--output "<value>"]
              [-l|--list] [-i|--index <integer>] [--all] [--latest]

              gocast is a program for downloading podcasts from acast.com via
              rss feed.

Arguments:

  -h  --help    Print help information
  -n  --name    Podcast name e.g. letstalkaboutcarsyo for
                http://rss.acast.com/letstalkaboutcarsyo
  -o  --output  Specifies where downloaded episodes will be saved to
  -l  --list    List all episodes
  -i  --index   Download a single episode via index. Run the 'list' command in
                order to get the index of the desired episode. Default: -1
      --all     Download all episodes
      --latest  Download the latest episode


Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcastClient

type AcastClient struct {
	// contains filtered or unexported fields
}

func NewAcastClient

func NewAcastClient(url string) (*AcastClient, error)

func (AcastClient) DownloadAllEpisodes

func (c AcastClient) DownloadAllEpisodes(outputPath string) error

func (AcastClient) DownloadEpisode

func (c AcastClient) DownloadEpisode(index int, outputPath string) error

func (AcastClient) GetAllEpisodes

func (c AcastClient) GetAllEpisodes() *map[int]*Episode

func (AcastClient) ListAllEpisodes

func (c AcastClient) ListAllEpisodes()

type Episode

type Episode struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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