Scraper retries fetching and parsing until the Limited-Time Free section is found.
| 74 | |
| 75 | // Scraper retries fetching and parsing until the Limited-Time Free section is found. |
| 76 | type Scraper struct { |
| 77 | Source HTMLSource |
| 78 | Retries int |
| 79 | Backoff func(attempt int) time.Duration |
| 80 | } |
| 81 | |
| 82 | func NewScraper(source HTMLSource) *Scraper { |
| 83 | return &Scraper{ |
nothing calls this directly
no outgoing calls
no test coverage detected