Updated company importer
This commit is contained in:
parent
5ab4c2c817
commit
626bc3bec9
@ -17,6 +17,10 @@ func main() {
|
|||||||
defer arn.Node.Close()
|
defer arn.Node.Close()
|
||||||
color.Yellow("Importing companies")
|
color.Yellow("Importing companies")
|
||||||
|
|
||||||
|
for company := range arn.StreamCompanies() {
|
||||||
|
companies[company.Name.English] = company
|
||||||
|
}
|
||||||
|
|
||||||
for anime := range arn.StreamAnime() {
|
for anime := range arn.StreamAnime() {
|
||||||
malID := anime.GetMapping("myanimelist/anime")
|
malID := anime.GetMapping("myanimelist/anime")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user