This commit is contained in:
bytedream 2022-05-29 16:10:37 +02:00
parent 15373ed7d6
commit 6581a5bd0f

View file

@ -148,9 +148,9 @@ func loadCrunchy() {
os.Exit(1) os.Exit(1)
} }
if crunchy, err = crunchyroll.LoginWithEtpRt(url.QueryEscape(string(body)), systemLocale(true), client); err != nil { if crunchy, err = crunchyroll.LoginWithEtpRt(url.QueryEscape(string(body)), systemLocale(true), client); err != nil {
out.Debug("Failed to login with temp etp rt: %w", err) out.Debug("Failed to login with temp etp rt cookie: %w", err)
} else { } else {
out.Debug("Logged in with etp rt %s. BLANK THIS LINE OUT IF YOU'RE ASKED TO POST THE DEBUG OUTPUT SOMEWHERE", body) out.Debug("Logged in with etp rt cookie %s. BLANK THIS LINE OUT IF YOU'RE ASKED TO POST THE DEBUG OUTPUT SOMEWHERE", body)
out.StopProgress("Logged in") out.StopProgress("Logged in")
return return
@ -172,7 +172,7 @@ func loadCrunchy() {
out.StopProgress(err.Error()) out.StopProgress(err.Error())
os.Exit(1) os.Exit(1)
} }
out.Debug("Logged in with etp rt %s. BLANK THIS LINE OUT IF YOU'RE ASKED TO POST THE DEBUG OUTPUT SOMEWHERE", split[0]) out.Debug("Logged in with etp rt cookie %s. BLANK THIS LINE OUT IF YOU'RE ASKED TO POST THE DEBUG OUTPUT SOMEWHERE", split[0])
} else { } else {
if crunchy, err = crunchyroll.LoginWithCredentials(split[0], split[1], systemLocale(true), client); err != nil { if crunchy, err = crunchyroll.LoginWithCredentials(split[0], split[1], systemLocale(true), client); err != nil {
out.StopProgress(err.Error()) out.StopProgress(err.Error())