Added ratings reset tool

This commit is contained in:
Eduard Urbach 2018-03-16 00:38:04 +01:00
parent ef971ba6fb
commit 78c2172385

View File

@ -0,0 +1,20 @@
package main
import (
"github.com/animenotifier/arn"
)
func main() {
defer arn.Node.Close()
animeList, err := arn.GetAnimeList("3eoFUr_zg")
arn.PanicOnError(err)
animeList.Lock()
for _, item := range animeList.Items {
item.Rating.Overall = 0
}
animeList.Unlock()
animeList.Save()
}