Merge branch 'master' into scraper
This commit is contained in:
@ -45,7 +45,7 @@ class Scraper:
|
|||||||
|
|
||||||
@retry(Exception, tries=5, delay=5)
|
@retry(Exception, tries=5, delay=5)
|
||||||
def _retry_request(self, method: str, url: str, body: bool) -> bytes | Response:
|
def _retry_request(self, method: str, url: str, body: bool) -> bytes | Response:
|
||||||
return self._get(method, url, body=body)
|
return self._request(method, url, body=body)
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self._scraper.close()
|
self._scraper.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user