podcastindex

package
v0.0.0-...-34dd3eb Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiKey    = "YOURKEYHERE"
	ApiSecret = "YOURSECRETHERE"
)

Variables

View Source
var Fetcher = &core.Fetcher{
	ID:          "podcastindex",
	Type:        core.LibraryTypePodcasts,
	Name:        "PodcastIndex.org",
	Description: "Non-profit podcast index",

	SearchFunc: searchByTerm,
	FetchFunc:  fetchFunc,
}

Functions

This section is empty.

Types

type Feed

type Feed struct {
	Id                     int    `json:"id"`
	Title                  string `json:"title"`
	Url                    string `json:"url"`
	OriginalUrl            string `json:"originalUrl"`
	Link                   string `json:"link"`
	Description            string `json:"description"`
	Author                 string `json:"author"`
	OwnerName              string `json:"ownerName"`
	Image                  string `json:"image"`
	Artwork                string `json:"artwork"`
	LastUpdateTime         int    `json:"lastUpdateTime"`
	LastCrawlTime          int    `json:"lastCrawlTime"`
	LastParseTime          int    `json:"lastParseTime"`
	LastGoodHttpStatusTime int    `json:"lastGoodHttpStatusTime"`
	LastHttpStatus         int    `json:"lastHttpStatus"`
	ContentType            string `json:"contentType"`
	ItunesId               int    `json:"itunesId"`
	Generator              string `json:"generator"`
	Language               string `json:"language"`
	Type                   int    `json:"type"`
	Dead                   int    `json:"dead"`
	CrawlErrors            int    `json:"crawlErrors"`
	ParseErrors            int    `json:"parseErrors"`
	Locked                 int    `json:"locked"`
	ImageUrlHash           int64  `json:"imageUrlHash"`
}

type Results

type Results struct {
	Status      string `json:"status"`
	Feeds       []Feed `json:"feeds"`
	Count       int    `json:"count"`
	Query       string `json:"query"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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