aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/payload.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/payload.go')
-rw-r--r--api/payload.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/api/payload.go b/api/payload.go
index 011a516..becbb47 100644
--- a/api/payload.go
+++ b/api/payload.go
@@ -24,12 +24,14 @@ type entriesResponse struct {
}
type feedCreation struct {
- FeedURL string `json:"feed_url"`
- CategoryID int64 `json:"category_id"`
- UserAgent string `json:"user_agent"`
- Username string `json:"username"`
- Password string `json:"password"`
- Crawler bool `json:"crawler"`
+ FeedURL string `json:"feed_url"`
+ CategoryID int64 `json:"category_id"`
+ UserAgent string `json:"user_agent"`
+ Username string `json:"username"`
+ Password string `json:"password"`
+ Crawler bool `json:"crawler"`
+ ScraperRules string `json:"scraper_rules"`
+ RewriteRules string `json:"rewrite_rules"`
}
type subscriptionDiscovery struct {