aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/config/config.go')
-rw-r--r--pkg/config/config.go26
1 files changed, 14 insertions, 12 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go
index ffb53b7..d1cd4c9 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -37,22 +37,24 @@ var DefaultGlobalOptions = GlobalOptions{
// Per feed options
// NB: Always specify a yaml name, as it is later used in processing
type Options struct {
- MinFreq int `yaml:"min-frequency"`
- InclImages bool `yaml:"include-images"`
- Disable bool `yaml:"disable"`
- IgnHash bool `yaml:"ignore-hash"`
- AlwaysNew bool `yaml:"always-new"`
- NoTLS bool `yaml:"tls-no-verify"`
+ MinFreq int `yaml:"min-frequency"`
+ InclImages bool `yaml:"include-images"`
+ EmbedImages bool `yaml:"embed-images"`
+ Disable bool `yaml:"disable"`
+ IgnHash bool `yaml:"ignore-hash"`
+ AlwaysNew bool `yaml:"always-new"`
+ NoTLS bool `yaml:"tls-no-verify"`
}
// Default feed options
var DefaultFeedOptions = Options{
- MinFreq: 1,
- InclImages: false,
- IgnHash: false,
- AlwaysNew: false,
- Disable: false,
- NoTLS: false,
+ MinFreq: 1,
+ InclImages: true,
+ EmbedImages: false,
+ IgnHash: false,
+ AlwaysNew: false,
+ Disable: false,
+ NoTLS: false,
}
// Config holds the global configuration options and the configured feeds