add proxy option

This commit is contained in:
2025-04-27 12:16:29 +08:00
parent 4cc6941d95
commit e8316b1d1c
3 changed files with 27 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ func main() {
fmt.Printf("name: %s, feedUrl: %s\n", item.CollectionName, item.FeedURL)
feedUrl := "http://www.ximalaya.com/album/19206382.xml"
pod, err := model.LoadFeed(feedUrl, 5*time.Second)
pod, err := model.LoadFeed(feedUrl, "", 5*time.Second)
if err != nil {
panic(err)
}