Skip to content

A Go library for extracting RSS feeds from iTunes pages.

License

Notifications You must be signed in to change notification settings

deepilla/itunes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

itunes

GoDoc Build Status Go Report Card

Have you ever wanted to get the underlying RSS feed from a podcast's iTunes page? Have you ever needed to do it in Go? Well this is the package for you.

Installation

go get github.com/deepilla/itunes

Usage

Import the itunes package.

import "github.com/deepilla/itunes"

Call the ToRSS function.

url, err := itunes.ToRSS("https://itunes.apple.com/us/podcast/s-town/id1212558767?mt=2")
if err != nil {
    log.Fatal(err)
}

fmt.Println("RSS feed is", url) // outputs "RSS feed is http://feeds.stownpodcast.org/stownpodcast"

Note: This package will not work on iTunesU pages as they don't have publicly available feeds.

Licensing

itunes is provided under an MIT License. See the LICENSE file for details.

About

A Go library for extracting RSS feeds from iTunes pages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages