Enhance the ITunesProvider by adding logging with detailed caller information, implementing rate limiting to prevent API abuse, and supporting genre IDs for more precise searches. Also, update the User-Agent string and improve error handling and logging throughout the search and charts functionality.
28 lines
897 B
Modula-2
28 lines
897 B
Modula-2
module gitea.malaihome.work/ans/podcast-search-go
|
|
|
|
go 1.23
|
|
|
|
require github.com/mmcdole/gofeed v1.3.0
|
|
|
|
require (
|
|
github.com/benbjohnson/clock v1.3.0 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
|
go.uber.org/ratelimit v0.3.1 // indirect
|
|
golang.org/x/sys v0.5.0 // indirect
|
|
)
|
|
|
|
require (
|
|
github.com/PuerkitoBio/goquery v1.8.0 // indirect
|
|
github.com/andybalholm/cascadia v1.3.1 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/mmcdole/goxpp v1.1.1-0.20240225020742-a0c311522b23 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/stretchr/testify v1.8.4 // indirect
|
|
golang.org/x/net v0.4.0 // indirect
|
|
golang.org/x/text v0.14.0 // indirect
|
|
gorm.io/gorm v1.25.12
|
|
)
|