default nyaa
parent
e8b6396760
commit
c3bf31894c
|
|
@ -49,6 +49,7 @@ func (h Handler) uiIndex(w http.ResponseWriter, r *http.Request) error {
|
||||||
feeds.Version `json:",inline"`
|
feeds.Version `json:",inline"`
|
||||||
}
|
}
|
||||||
editing.Version.Cron = fmt.Sprintf("%d */12 * * *", rand.Int()%60)
|
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.Pattern = ".*"
|
||||||
editing.Version.WebhookBody = "{{ .Item.Link }}"
|
editing.Version.WebhookBody = "{{ .Item.Link }}"
|
||||||
editing.Version.WebhookMethod = "POST"
|
editing.Version.WebhookMethod = "POST"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue