From 01a5bdac40a1d96bd9197a0d6c55306a87c0fe79 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 5 Aug 2025 14:16:44 -0400 Subject: [PATCH] small fix for gui --- src/net.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net.rs b/src/net.rs index 458f3b4..052522c 100644 --- a/src/net.rs +++ b/src/net.rs @@ -132,7 +132,7 @@ pub fn is_feed(url: &str) -> bool { } pub fn load_rss(url: &str) -> Option { - let client = Client::new(); + let client = get_client(url_network(url)).unwrap(); let res = client.get(url).header(USER_AGENT, "RSS Reader").send(); match res { Ok(resp) => match resp.bytes() {