mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
add proxy arg in scraper.Fetch
This commit is contained in:
parent
2f6895e118
commit
01f678c3b1
2 changed files with 6 additions and 1 deletions
|
@ -56,6 +56,7 @@ func ProcessFeedEntries(store *storage.Storage, feed *model.Feed) {
|
|||
feed.UserAgent,
|
||||
feed.Cookie,
|
||||
feed.AllowSelfSignedCertificates,
|
||||
feed.FetchViaProxy,
|
||||
)
|
||||
|
||||
if config.Opts.HasMetricsCollector() {
|
||||
|
@ -118,6 +119,7 @@ func ProcessEntryWebPage(feed *model.Feed, entry *model.Entry) error {
|
|||
entry.Feed.UserAgent,
|
||||
entry.Feed.Cookie,
|
||||
feed.AllowSelfSignedCertificates,
|
||||
feed.FetchViaProxy,
|
||||
)
|
||||
|
||||
if config.Opts.HasMetricsCollector() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue