replace *.deepwisdom.ai for scraping by local server

This commit is contained in:
shenchucheng 2024-02-21 15:40:23 +08:00
parent ac755e7668
commit d53cfd39f7
6 changed files with 50 additions and 35 deletions

View file

@ -103,7 +103,7 @@ class WDMHttpProxyClient(WDMHttpClient):
def get(self, url, **kwargs):
if "proxies" not in kwargs and self.proxy:
kwargs["proxies"] = {"all_proxy": self.proxy}
kwargs["proxies"] = {"all": self.proxy}
return super().get(url, **kwargs)