mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Add notice when downloading via cli and no episodes could be found
This commit is contained in:
parent
02bd33ef59
commit
db30b9eadc
2 changed files with 4 additions and 0 deletions
|
|
@ -182,6 +182,8 @@ func archive(urls []string) error {
|
||||||
episodes, err := archiveExtractEpisodes(url)
|
episodes, err := archiveExtractEpisodes(url)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
out.StopProgress("Failed to parse url %d", i+1)
|
out.StopProgress("Failed to parse url %d", i+1)
|
||||||
|
out.Debug("If the error says no episodes could be found but the passed url is correct and a crunchyroll classic url, " +
|
||||||
|
"try the corresponding crunchyroll beta url instead and try again. See https://github.com/ByteDream/crunchyroll-go/issues/22 for more information")
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
out.StopProgress("Parsed url %d", i+1)
|
out.StopProgress("Parsed url %d", i+1)
|
||||||
|
|
|
||||||
|
|
@ -128,6 +128,8 @@ func download(urls []string) error {
|
||||||
episodes, err := downloadExtractEpisodes(url)
|
episodes, err := downloadExtractEpisodes(url)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
out.StopProgress("Failed to parse url %d", i+1)
|
out.StopProgress("Failed to parse url %d", i+1)
|
||||||
|
out.Debug("If the error says no episodes could be found but the passed url is correct and a crunchyroll classic url, " +
|
||||||
|
"try the corresponding crunchyroll beta url instead and try again. See https://github.com/ByteDream/crunchyroll-go/issues/22 for more information")
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
out.StopProgress("Parsed url %d", i+1)
|
out.StopProgress("Parsed url %d", i+1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue