I am trying to scrape below table data from a website using BeautifulSoup4 and Python link is : 1: https://i.sstatic.net/PfPOQ.png
So far my code is
url = "https://www.boerse-frankfurt.de/bond/xs0216072230"
content = requests.get(url)
soup = BeautifulSoup(content.text, 'html.parser')
tbody_data = soup.find_all("table", attrs={"class": "table widget-table"})
table1 = tbody_data[2]
table_body = table1.find('tbody')
rows = table_body.find_all('tr')
for row in rows:
cols = row.find_all('td')
print(cols)
With this code , I am getting result : Mycoderesult https://i.sstatic.net/C190u.png [Issuer, ] [Industry, ]
I see Issuer, Industry but value of Issuer and Industry not showing up by my result. Any help would be appreciated. TIA