When readallcomics.com pages have a <title> containing only the issue number (e.g. '#018 (2026)'), fall back to the h1 element first, then derive the title from the URL slug by stripping the trailing year and title-casing the hyphen-separated segments. Closes #4
19 lines
450 B
Modula-2
19 lines
450 B
Modula-2
module yoink
|
|
|
|
go 1.22.3
|
|
|
|
require (
|
|
github.com/DaRealFreak/cloudflare-bp-go v1.0.4
|
|
github.com/PuerkitoBio/goquery v1.9.2
|
|
github.com/andybalholm/brotli v1.2.0
|
|
github.com/spf13/cobra v1.8.1
|
|
)
|
|
|
|
require (
|
|
github.com/EDDYCJY/fake-useragent v0.2.0 // indirect
|
|
github.com/andybalholm/cascadia v1.3.2 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
golang.org/x/net v0.24.0 // indirect
|
|
)
|