diff options
author | 2021-03-23 04:27:58 +0100 | |
---|---|---|
committer | 2021-03-22 20:27:58 -0700 | |
commit | 9242350f0e16c6b14245c9de545894e553f520ee (patch) | |
tree | 68eacf3ffd31f6a823951e8735281e377589b197 /client | |
parent | b0c14aa8f91965eecae411f696c5175df5c2aa4d (diff) | |
download | v2-9242350f0e16c6b14245c9de545894e553f520ee.tar.gz v2-9242350f0e16c6b14245c9de545894e553f520ee.tar.zst v2-9242350f0e16c6b14245c9de545894e553f520ee.zip |
Add per feed cookies option
Diffstat (limited to 'client')
-rw-r--r-- | client/model.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/model.go b/client/model.go index 0b9cdeb9..535f5062 100644 --- a/client/model.go +++ b/client/model.go @@ -122,6 +122,7 @@ type Feed struct { KeeplistRules string `json:"keeplist_rules"` Crawler bool `json:"crawler"` UserAgent string `json:"user_agent"` + Cookie string `json:"cookie"` Username string `json:"username"` Password string `json:"password"` Category *Category `json:"category,omitempty"` @@ -132,6 +133,7 @@ type FeedCreationRequest struct { FeedURL string `json:"feed_url"` CategoryID int64 `json:"category_id"` UserAgent string `json:"user_agent"` + Cookie string `json:"cookie"` Username string `json:"username"` Password string `json:"password"` Crawler bool `json:"crawler"` @@ -156,6 +158,7 @@ type FeedModificationRequest struct { KeeplistRules *string `json:"keeplist_rules"` Crawler *bool `json:"crawler"` UserAgent *string `json:"user_agent"` + Cookie *string `json:"cookie"` Username *string `json:"username"` Password *string `json:"password"` CategoryID *int64 `json:"category_id"` |