This commit is contained in:
zhaarey
2025-08-08 09:10:16 +08:00
parent b73c586755
commit 795af53c36
2 changed files with 5 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ func loadConfig() error {
if err != nil {
return err
}
if Config.Storefront == "" {
if len(Config.Storefront) != 2 {
Config.Storefront = "us"
}
return nil
@@ -452,8 +452,8 @@ func promptForQuality(item SearchResultItem, token string) (string, error) {
}
prompt := &survey.Select{
Message: "Select a quality to download:",
Options: qualityOptions,
Message: "Select a quality to download:",
Options: qualityOptions,
PageSize: 5,
}
@@ -2308,4 +2308,4 @@ func extractVideo(c string) (string, error) {
}
return streamUrl.String(), nil
}
}