示例
#!/usr/bin/env python
# coding: utf-8
import requests
from bs4 import BeautifulSoup
response = request.get('http://bj.weather.com.cn')
response.encoding = 'utf-8'
html = response.text
soup = BeautifulSoup(html, 'html.parser')
weather = soup.select('textarea.messageContent')
print str(weather)