mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-14 06:49:52 +01:00
Next season feature
This commit is contained in:
@@ -114,6 +114,20 @@ func LangeArbeit() {
|
||||
}
|
||||
}
|
||||
|
||||
// next season data
|
||||
nextSeason := GetNextSeasonString()
|
||||
_, bytes, err = GetNextSeasonDataAll(nextSeason)
|
||||
if err != nil {
|
||||
color.Errorln(err.Error())
|
||||
logOut.WriteError(err)
|
||||
} else {
|
||||
err = seasoncache.Set(nextSeason, bytes)
|
||||
if err != nil {
|
||||
color.Errorln(err.Error())
|
||||
logOut.WriteError(err)
|
||||
}
|
||||
}
|
||||
|
||||
// refresh anime cache with watched
|
||||
count := 0
|
||||
animesUsers, err := ReadAnimeUsers()
|
||||
|
||||
Reference in New Issue
Block a user