Replace hardcoded title extraction with user-defined CSS selectors using goquery. Users specify selector in job JSON to extract any HTML elements. Worker extracts text content plus src/href attributes. Webhook payload includes extracted content and URL.
12 lines
282 B
Modula-2
12 lines
282 B
Modula-2
module alpenqueue
|
|
|
|
go 1.25.4
|
|
|
|
require (
|
|
github.com/PuerkitoBio/goquery v1.10.3 // indirect
|
|
github.com/andybalholm/cascadia v1.3.3 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.32 // indirect
|
|
github.com/temoto/robotstxt v1.1.2 // indirect
|
|
golang.org/x/net v0.47.0 // indirect
|
|
)
|