2018-03-15 23:38:04 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2019-06-03 09:32:43 +00:00
|
|
|
"github.com/animenotifier/notify.moe/arn"
|
2018-03-15 23:38:04 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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()
|
|
|
|
}
|