Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BadHTTPStatus is when an HTTP request is made which does not return http.StatusOK BadHTTPStatus = "Bad HTTP status return" // MetadataNotFound is when the metadata could not be located when parsing HTTP content MetadataNotFound = "Could not locate metadata for programme" // CouldNotParseURL is when a given URL could not be parsed CouldNotParseURL = "Could not parse URL" // NotTVSeries is when trying to get data for a series but the link isn't for a series NotTVSeries = "Not a TV Series" // IsAnEpisode is when trying to get data for a series but the link is actually an episode. // This can happen for one-offs and movies IsAnEpisode = "Link is to an episode" )
Variables ¶
This section is empty.
Functions ¶
func ContentFromURL ¶
ContentFromURL gets the HTML content from a URL
func ExtractEpisode ¶
func ExtractSeries ¶
ExtractSeries obtains metadata for a series (aka show or programme).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.