Thu Aug 24 23:06:15 CST 2017

This commit is contained in:
ddv12138 2017-08-24 23:06:15 +08:00
parent 97b4755e38
commit ba68e51d8c

View File

@ -32,7 +32,7 @@ H = {'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,
def query(id__,name): def query(id__,name):
s = requests.Session() s = requests.Session()
req = s.get(URL,headers=H) req = s.get(URL)
if req.ok : if req.ok :
url = URL + data.format(id__,quote(name)) url = URL + data.format(id__,quote(name))