Documentation
¶
Overview ¶
`presentationType` data seems to be incorrect in some cases. For example, JustWatch reports this as SD: fetchtv.com.au/movie/details/19285 when the site itself reports as HD
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnUs = Locales{}/* 139 elements not displayed */
2025-11-04
Functions ¶
func GroupAndSortByUrl ¶ added in v1.8.2
func GroupAndSortByUrl(offers []EnrichedOffer) ([]string, map[string][]EnrichedOffer)
GroupAndSortByUrl groups offers by URL and sorts the groups. Within each group, offers are sorted by country.
Types ¶
type Content ¶
type Content struct {
HrefLangTags []HrefLangTag `json:"href_lang_tags"`
}
type EnrichedOffer ¶
func Deduplicate ¶ added in v1.8.1
func Deduplicate(offers []EnrichedOffer) []EnrichedOffer
Deduplicate removes true duplicates where both the Offer and Locale are identical.
func FilterOffers ¶
func FilterOffers(offers []EnrichedOffer, unwantedTypes ...string) []EnrichedOffer
FilterOffers removes offers with unwanted monetization types.
type HrefLangTag ¶
Click to show internal directories.
Click to hide internal directories.