我要把职业和它对应的专业扯进去。 但我的代码只适用于拉职业。你知道吗
import requests, bs4
r = requests.get('https://www.doximity.com/sign_ups/9e016f85-d589-4cdf-8240-09c356d4434f/edit?sign_up[user_attributes][firstname]=Jian&sign_up[user_attributes][lastname]=Cui')
soup = bs4.BeautifulSoup(r.text, 'lxml')
spec = soup.find_all('select')
for sub in spec:
print (sub.text)
请给我一些建议。你知道吗
请检查以下代码,如有任何问题请通知我:
相关问题 更多 >
编程相关推荐