早上好。 我試圖做到這一點,而不是離開我。hi§符號無法識別
你能幫我嗎?
非常感謝你
soup = BeautifulSoup(html_page)
titulo=soup.find('h3').get_text()
titulo=titulo.replace('§','')
titulo=titulo.replace('§','')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0: ordinal not in range(128)
'h3'的文字是什麼? –