small fix for gui
This commit is contained in:
parent
2d6a417987
commit
01a5bdac40
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ pub fn is_feed(url: &str) -> bool {
|
|||
}
|
||||
|
||||
pub fn load_rss(url: &str) -> Option<Channel> {
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue