(ctx context.Context)
| 29 | // non-browser sources can be swapped without touching the retry or parser logic. |
| 30 | type HTMLSource interface { |
| 31 | Fetch(ctx context.Context) (string, error) |
| 32 | } |
| 33 | |
| 34 | // HTTPSource is a minimal transport that fetches the raw homepage over HTTP. |