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

Commit

Permalink
Fix comment misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Jan 14, 2024
1 parent 937e9a2 commit 6e01e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crunchy-cli-core/src/utils/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ pub async fn parse_url(
let old_url_regex = Regex::new(r"https?://(www\.)?crunchyroll\.com/.+").unwrap();
if old_url_regex.is_match(&url) {
debug!("Detected maybe old url");
// replace the 'http' prefix with 'https' as https is not supported by the reqwest client
// replace the 'http' prefix with 'https' as http is not supported by the reqwest client
if url.starts_with("http://") {
url.replace_range(0..4, "https")
}
Expand Down

0 comments on commit 6e01e9e

Please sign in to comment.