soup = BeautifulSoup(html, 'html.parser')
select = soup.find('select', attrs={"name": "products"})
参考:https://www.crummy.com/software/BeautifulSoup/bs4/doc/#attrs
soup = BeautifulSoup(html, 'html.parser')
select = soup.find('select', attrs={"name": "products"})
参考:https://www.crummy.com/software/BeautifulSoup/bs4/doc/#attrs