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() {