http://piaofang.maoyan.com/?d... 这是要爬的网站,我要取得今天票房大盘数据,我用下面的代码爬去
import requests
from bs4 import BeautifulSoup
res = requests.get("http://piaofang.maoyan.com/?date=2016-09-07")
res.encoding = "utf-8"
soup = BeautifulSoup(res.text,"lxml")
print(soup)
输出的是[<span id="ticket_count"><i class="cs gsBlur">.万</i></span>]
这样的,关键数据怎么是乱码呢
求哪位好人帮忙看下原因,谢谢