import requests
import time
import re
headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36'}
url='https://music.163.com/#/discover/toplist?id=3779629'
res=requests.get(url,headers=headers)
name=re.findall('<b title="(.*?)">The Best F<div class="soil">7A</div>or You</b>',res.text,re.S)
print(name)
在F12里能找到的标签 爬取无论用bs4 etree都返回空列表 请大家帮我看一下
谢谢qwq