Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Add notice when downloading via cli and no episodes could be found
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Apr 15, 2022
1 parent 02bd33e commit db30b9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/crunchyroll-go/cmd/archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ func archive(urls []string) error {
episodes, err := archiveExtractEpisodes(url)
if err != nil {
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
}
out.StopProgress("Parsed url %d", i+1)
Expand Down
2 changes: 2 additions & 0 deletions cmd/crunchyroll-go/cmd/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ func download(urls []string) error {
episodes, err := downloadExtractEpisodes(url)
if err != nil {
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
}
out.StopProgress("Parsed url %d", i+1)
Expand Down

0 comments on commit db30b9e

Please sign in to comment.