From ccc598634c71087e25c315268bf04afa08b6d336 Mon Sep 17 00:00:00 2001 From: bytedream Date: Wed, 1 Dec 2021 17:35:18 +0100 Subject: [PATCH] Typo fix --- episode.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/episode.go b/episode.go index 4947a57..247967f 100644 --- a/episode.go +++ b/episode.go @@ -102,7 +102,8 @@ func EpisodeFromID(crunchy *Crunchyroll, id string) (*Episode, error) { // AudioLocale returns the audio locale of the episode. // Every episode in a season (should) have the same audio locale, // so if you want to get the audio locale of a season, just call this method on the first episode of the season. -// Otherwise, this function will cause massive heap on a season which many episodes +// Otherwise, if you call this function on every episode it will cause a massive delay and redundant network +// overload since it calls an api endpoint every time func (e *Episode) AudioLocale() (LOCALE, error) { resp, err := e.crunchy.request(fmt.Sprintf("https://beta-api.crunchyroll.com/cms/v2/%s/%s/%s/videos/%s/streams?locale=%s&Signature=%s&Policy=%s&Key-Pair-Id=%s", e.crunchy.Config.CountryCode,