import requests from bs4 import BeautifulSoup res = requests.get('http://sh.esf.fang.com/chushou/3_328298194.htm?channel=1,2&psid=1_37_70') soup = BeautifulSoup(res.text,'html.parser') info = {} info['标题'] = soup.select('.title h1')[0].text.strip() i