16 lines
335 B
Go
Raw Normal View History

2017-07-01 21:08:12 +00:00
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())
}
}