default nyaa

This commit is contained in:
bel
2025-05-08 11:03:37 -06:00
parent e8b6396760
commit c3bf31894c

View File

@@ -49,6 +49,7 @@ func (h Handler) uiIndex(w http.ResponseWriter, r *http.Request) error {
feeds.Version `json:",inline"`
}
editing.Version.Cron = fmt.Sprintf("%d */12 * * *", rand.Int()%60)
editing.Version.URL = "nyaa://?q=SOME_SHOW dual web-dl"
editing.Version.Pattern = ".*"
editing.Version.WebhookBody = "{{ .Item.Link }}"
editing.Version.WebhookMethod = "POST"