21 lines
298 B
Go
21 lines
298 B
Go
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()
|
|
}
|