divs = soup.find_all('div', 'content') for div in divs: 方法一, 使用text (會包含許多換行符號) print(div.text) 方法二, 使用tag 定位
確定! 回上一頁