importrequests frombs4importBeautifulSoup url='https://www.qichemen.com/complain.html' res=requests.get(url) soup=BeautifulSoup(res.text,'html.parser') trs=soup.find('tbody',class_="load-container").find_all('tr',class_="link-tr") fortrintrs: tds=tr.find_all('div',class_="ww1")