diff --git a/src/utils/http.py b/src/utils/http.py index aa18747b..412ccce7 100644 --- a/src/utils/http.py +++ b/src/utils/http.py @@ -227,6 +227,10 @@ def request_many(urls: typing.List[str]) -> typing.Dict[str, Response]: return responses +class Client(object): + request = request + request_many = request_many + def strip_html(s: str) -> str: return bs4.BeautifulSoup(s, "lxml").get_text()