diff --git a/api/playback/handler.go b/api/playback/handler.go index 16c6005..412746c 100644 --- a/api/playback/handler.go +++ b/api/playback/handler.go @@ -64,9 +64,7 @@ func (h *Handler) HandleWatchPage(w http.ResponseWriter, r *http.Request) { } for i := range episodes.Data { - log.Printf("Ep %s image: %s", episodes.Data[i].Episode, episodes.Data[i].Images.Jpg.ImageURL) episodes.Data[i].Images.Jpg.ImageURL = episodes.Data[i].GetFallbackImage(id) - log.Printf("Ep %s fallback image: %s", episodes.Data[i].Episode, episodes.Data[i].Images.Jpg.ImageURL) } sort.Slice(episodes.Data, func(i, j int) bool { diff --git a/integrations/jikan/episodes.go b/integrations/jikan/episodes.go index 94674af..a512428 100644 --- a/integrations/jikan/episodes.go +++ b/integrations/jikan/episodes.go @@ -38,8 +38,7 @@ func (e *Episode) GetFallbackImage(animeID int) string { } // Always trigger scraping if we encounter the banned icon OR the generic placeholder - // OR if it's the specific Code Geass episode we are testing - if imageUrl != bannedImageURL && imageUrl != placeholderImageURL && imageUrl != "" && !(animeID == 2904 && episodeNum == 6) { + if imageUrl != bannedImageURL && imageUrl != placeholderImageURL && imageUrl != "" { return imageUrl }