mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 04:02:00 -06:00
Fixed nil map error
This commit is contained in:
parent
21619fe333
commit
0e8738a304
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ type EpisodeWalker struct {
|
|||
// Urls to seasons and episodes are support, normal as well as beta urls
|
||||
func (ew EpisodeWalker) WalkURLs(urls []string) error {
|
||||
var episodeIds, seasonIds, seriesNames []string
|
||||
var episodeNames map[string][]string
|
||||
episodeNames := make(map[string][]string)
|
||||
|
||||
for _, url := range urls {
|
||||
if episodeId, ok := crunchyroll.ParseBetaEpisodeURL(url); ok && !(ew.CheckDuplicates && sliceContains(episodeIds, episodeId)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue