瀏覽代碼

[update] http

jhao 6 年之前
父節點
當前提交
cfa41e22c4
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: