0.5更新

This commit is contained in:
wenead99
2019-06-01 21:16:40 +08:00
committed by GitHub
parent 79679adbac
commit 2dc2da4b41
7 changed files with 388 additions and 114 deletions

10
ADC_function.py Normal file
View File

@@ -0,0 +1,10 @@
import requests
def get_html(url):#网页请求核心
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36'}
getweb = requests.get(str(url),timeout=5,headers=headers)
getweb.encoding='utf-8'
try:
return getweb.text
except:
print("[-]Connect Failed! Please check your Proxy.")