paragraphs = soup.find_all('p') for p in paragraphs: print(p['id'], p.text) # p1 我是段落一 # p2 我是段落二 a = soup.find('a') ...
確定! 回上一頁