From 757c0ff90a2d6cc41c77c26050c50b1b9ceecbec Mon Sep 17 00:00:00 2001 From: A Farzat Date: Mon, 9 Mar 2026 08:15:20 +0300 Subject: Fix formatting For future reference, the User-Agent was obtained from https://hasdata.com/blog/user-agents-for-web-scraping --- src/http_client.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/http_client.rs b/src/http_client.rs index bc929bc..3d5a926 100644 --- a/src/http_client.rs +++ b/src/http_client.rs @@ -26,7 +26,9 @@ pub fn build_authenticated_client(cookies_path: &PathBuf) -> Result { // Build the client with the cookie provider and a standard User-Agent. let client = Client::builder() .cookie_provider(jar) - .user_agent("Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0") + .user_agent( + "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0", + ) .build() .context("Failed to build the HTTP client")?; -- cgit v1.2.3-70-g09d2