fix double https://https:// in useragent

This commit is contained in:
Thomas Koch 2025-01-12 21:14:20 +02:00
parent be9ec4f592
commit 5c629bce7a

View File

@ -15,7 +15,7 @@ pub struct Fetcher {
impl Fetcher {
pub fn new(bot_name: &str, from: &str) -> Fetcher {
let ua_name = format!(
"{bot_name}/{} https://{} software: {}",
"{bot_name}/{} {} software: {}",
env!("CARGO_PKG_VERSION"),
env!("CARGO_PKG_HOMEPAGE"),
env!("CARGO_PKG_NAME")