# -*- coding utf-8 -*-
import requests
res =requests.get('http://www.qstheory.cn/2017-10/22/c_1121837612.htm')
res.encoding ='utf-8'
# print (res)
# print(res.text)
from bs4 import BeautifulSoup
html=res.text
soup=BeautifulSoup(html,'html.parser')
# print type(soup)
# print soup.text
header=soup.select('#title')
print header