Documentation
¶
Overview ¶
Package fundoradoutil scrapes Fundorado white-label VOD sites, a React shell over api.fundorado.com. A site row names the host and the label ids that make up its catalogue; the API serves them through /api/videos/browse/{kind}/{id}.
Index ¶
Constants ¶
View Source
const ( DefaultAPIBase = "https://api.fundorado.com" // RecommendedDelay keeps a pooled walk under the API's 240 requests a // minute per IP, past which it answers 429 with a Retry-After of ~25s. RecommendedDelay = 300 * time.Millisecond )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scraper ¶
type Scraper struct {
Client *http.Client
APIBase string
// contains filtered or unexported fields
}
func New ¶
func New(cfg SiteConfig) *Scraper
func (*Scraper) ListScenes ¶
func (*Scraper) MatchesURL ¶
Click to show internal directories.
Click to hide internal directories.