Fixed jobs and patches not building
This commit is contained in:
parent
3b294cd768
commit
8d013c5fb8
@ -12,10 +12,9 @@ func main() {
|
|||||||
color.Yellow("Refreshing anime characters...")
|
color.Yellow("Refreshing anime characters...")
|
||||||
defer arn.Node.Close()
|
defer arn.Node.Close()
|
||||||
|
|
||||||
allAnime, _ := arn.AllAnime()
|
|
||||||
rateLimiter := time.NewTicker(500 * time.Millisecond)
|
rateLimiter := time.NewTicker(500 * time.Millisecond)
|
||||||
|
|
||||||
for _, anime := range allAnime {
|
for anime := range arn.StreamAnime() {
|
||||||
<-rateLimiter.C
|
<-rateLimiter.C
|
||||||
|
|
||||||
chars, err := anime.RefreshAnimeCharacters()
|
chars, err := anime.RefreshAnimeCharacters()
|
||||||
|
@ -12,7 +12,7 @@ var userName = "Akyoto"
|
|||||||
var allAnime []*arn.Anime
|
var allAnime []*arn.Anime
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
allAnime, _ = arn.AllAnime()
|
allAnime = arn.AllAnime()
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -12,8 +12,7 @@ func main() {
|
|||||||
arn.PanicOnError(anilist.Authorize())
|
arn.PanicOnError(anilist.Authorize())
|
||||||
color.Green(anilist.AccessToken)
|
color.Green(anilist.AccessToken)
|
||||||
|
|
||||||
allAnime, err := arn.AllAnime()
|
allAnime := arn.AllAnime()
|
||||||
arn.PanicOnError(err)
|
|
||||||
|
|
||||||
count := 0
|
count := 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user