赞
踩
找到热搜的排名,标题和热度,发现它们在同一路径
import requests
from lxml import etree
url= 'https://s.weibo.com/top/summary?Refer=top_hot&topnav=1&wvr=6'
#print(response.text)
headers={
'User-Agent': 'Mozilla/5.0 (Wind ows NT 10.0; Win64; x64) AppleW
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。