Package main (v1.8.4) [up] [repository]

Index

Functions

func ExtractApolloState(html []byte) ([]byte, error)
func ExtractTotalCount(jsonData []byte) (float64, error)

ExtractTotalCount looks for the popularTitles query containing the tomatoMeter filter

Types

type Result

Result holds the final data we want to output

type Result struct {
	Country    string
	Provider   string
	TotalCount float64
	URL        string
}