测试案例:
1.select方法
for item in soup.select('div[class="f-l intern-detail__job"] p a'):
detail_url = item.get('href')
print(detail_url)
2.find_all 方法
for items in soup.find_all('div',class_='f-l intern-detail__job'):
item = items.select('p a')[0]
detail_url = item.get('href')
print(detail_url)