aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http_client.rs4
1 files changed, 3 insertions, 1 deletions
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<Client> {
// 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")?;