Browse Source

[update] http

jhao 6 năm trước cách đây
mục cha
commit
cfa41e22c4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: