NewSeason returns empty episode list and no error
Hey @windblows95,
I just noticed the tests for Season/Episodes from your PR #14 are failing: returning empty season/episode.
The call to NewSeason returns without error but the episode list is empty: https://github.com/StalkR/imdb/blob/master/season_test.go#L174
Test log: https://github.com/StalkR/imdb/actions/runs/12748036337/job/35527355036
-
If possible, it should catch something went wrong with parsing and return an error (e.g. could not parse).
-
And then, if you can fix the parsing so it returns the episode list.
Filing this in case you're willing to look into it.
Addressed in my latest PR
fixed in https://github.com/StalkR/imdb/commit/ca5eb25f9202409ff0dafa8216df7b670b06379f