Documentation ¶
Index ¶
- func GetCast(edges []castNodeWrapper) []*pipe.Cast
- func GetFAQ(total int64, edges []faqEdge) *pipe.FAQ
- func GetGenres(genres []withTextAndID) []*pipe.Genre
- func GetImages(total int64, primaryImage primaryImage, edges []imageEdge, ...) *pipe.Images
- func GetKeywords(k keywords) *pipe.Keywords
- func GetNextJSData(doc *goquery.Document) (*nextJSData, error)
- func GetPopularity(m meterRanking) *pipe.Popularity
- func GetRelatedTitles(edges []moreLikeThisTitlesEdge) []*pipe.RelatedTitle
- func GetReviews(totalUsers int64, totalExternal int64, featuresEdges []featuredReviewEdge) *pipe.Reviews
- func GetSeries(s series) *pipe.Series
- func GetSoundtracks(edges []soundtrackEdge) []*pipe.Soundtrack
- func GetTitle(text string, original string, akaEdges []akaEdge) *pipe.Title
- func GetTrivia(total int64, edges []triviaEdge) *pipe.Trivia
- func GetVideos(total int64, primaryEdges []primaryVideosEdge, stripEdges []videoStripEdge) *pipe.Videos
- type DisplayNameClass
- type IDWrapper
- type PurpleContentType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeywords ¶
func GetNextJSData ¶
GetNextJSData extracts the second JSON string which is usually in the middle or bottom of the web page's source code the Next.JS framework automatically generates this. Most likely, the structure of this JSON object is going to change. But as long as they use the Next.JS framework, the approach remains the same.
func GetPopularity ¶
func GetPopularity(m meterRanking) *pipe.Popularity
func GetRelatedTitles ¶
func GetRelatedTitles(edges []moreLikeThisTitlesEdge) []*pipe.RelatedTitle
func GetReviews ¶
func GetSoundtracks ¶
func GetSoundtracks(edges []soundtrackEdge) []*pipe.Soundtrack
Types ¶
type DisplayNameClass ¶
type DisplayNameClass struct {
Value string `json:"value"`
}
type PurpleContentType ¶
type PurpleContentType struct {
DisplayName DisplayNameClass `json:"displayName"`
}
Click to show internal directories.
Click to hide internal directories.