Browse Source

[update] http

jhao 6 years ago
parent
commit
cfa41e22c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -139,7 +139,7 @@ def getHtml():
     proxy = get_proxy().get("proxy")
     while retry_count > 0:
         try:
-            html = requests.get('https://www.example.com', proxies={"http": "http://{}".format(proxy)})
+            html = requests.get('http://www.example.com', proxies={"http": "http://{}".format(proxy)})
             # 使用代理访问
             return html
         except Exception: