我想从这个网页上删除数据
我想得到所有的博客...在结果标签(<div class="results">)
下
In browser tools there it is showing under result tag there are 10 snippets...
但使用Beautifulsoap我得到了
<div class="results">
</div>
postman 也得到了同样的东西..
我就是这么做的..
topicuri = "https://search.donanimhaber.com/portal?q=vodafone&p=3&devicetype=browsermobile&order=date_desc&in=all&contenttype=all&wordtype=both&range=all"
r = s.get(topicuri)
soup = BeautifulSoup(r.text, 'html.parser')
pages = soup.find('div', {'class': 'results'})
print(pages)