2017-07-01 23:08:12 +02:00

16 lines
335 B
Go

package main
import (
"github.com/animenotifier/arn"
)
func main() {
for anime := range arn.MustStreamAnime() {
providerID := anime.GetMapping("anilist/anime")
_, err := arn.DB.Delete("AniListToAnime", providerID)
arn.PanicOnError(err)
anime.RemoveMapping("anilist/anime", providerID)
arn.PanicOnError(anime.Save())
}
}