fix double https://https:// in useragent
This commit is contained in:
parent
be9ec4f592
commit
5c629bce7a
@ -15,7 +15,7 @@ pub struct Fetcher {
|
|||||||
impl Fetcher {
|
impl Fetcher {
|
||||||
pub fn new(bot_name: &str, from: &str) -> Fetcher {
|
pub fn new(bot_name: &str, from: &str) -> Fetcher {
|
||||||
let ua_name = format!(
|
let ua_name = format!(
|
||||||
"{bot_name}/{} https://{} software: {}",
|
"{bot_name}/{} {} software: {}",
|
||||||
env!("CARGO_PKG_VERSION"),
|
env!("CARGO_PKG_VERSION"),
|
||||||
env!("CARGO_PKG_HOMEPAGE"),
|
env!("CARGO_PKG_HOMEPAGE"),
|
||||||
env!("CARGO_PKG_NAME")
|
env!("CARGO_PKG_NAME")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user