added archive, megamillions, and powerball site logic

This commit is contained in:
2024-12-23 03:18:50 -05:00
parent 5e924eb3f9
commit 567a9f9212
19 changed files with 1412 additions and 118 deletions

View File

@@ -5,8 +5,12 @@ import (
"io"
)
type OpenPageOptions struct {
Referer string
}
type Browser interface {
io.Closer
Open(ctx context.Context, url string) (Document, error)
Open(ctx context.Context, url string, opts OpenPageOptions) (Document, error)
}