这是我所做的,但是我仍然遇到错误
import requests
import pandas
from bs4 import BeautifulSoup
r=requests.get(\"https://www.aia.org/firm-directory?query=architect\")
c=r.content
soup=BeautifulSoup(c,\"html.parser\")
html_page=soup.find('tbody')
rows=html_page.find('tr')
for row in rows:
cols=row.find_all('td')
print(cols)"