mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[wgem] reading local suggestions
This commit is contained in:
@@ -71,3 +71,8 @@ class HttpClient:
|
||||
|
||||
if size is not None:
|
||||
return system.get_human_size_str(size)
|
||||
|
||||
def exists(self, url: str) -> bool:
|
||||
res = self.session.get(url=url, allow_redirects=True, ignore_ssl=True)
|
||||
return res.status_code == 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user