... from bs4 import BeautifulSoup text = '' soup = BeautifulSoup(text, 'html.parser') tag = soup.select('img')[0]['btn-title'] print(tag)
確定! 回上一頁