找出所有.png 結尾的圖片 imgs = soup.find_all('img') for img in imgs: if 'src' in img.attrs: if img['src'].endswith('.png'): print(img['src']) ...
確定! 回上一頁