From 6e01e9e8a77d435d2835b1cf0d644d82ca7dbdb6 Mon Sep 17 00:00:00 2001 From: bytedream Date: Sun, 14 Jan 2024 22:39:05 +0100 Subject: [PATCH] Fix comment misspelling --- crunchy-cli-core/src/utils/parse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crunchy-cli-core/src/utils/parse.rs b/crunchy-cli-core/src/utils/parse.rs index d82e3d3..70cbfbb 100644 --- a/crunchy-cli-core/src/utils/parse.rs +++ b/crunchy-cli-core/src/utils/parse.rs @@ -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") }