랭귀지/python

python3 beautifulsoup 한글 깨짐

유키공 2020. 4. 13. 12:29

soup = BeautifulSoup(html, "html.parser")

soup = BeautifulSoup(html, 'html.parser', from_encoding='euc-kr')

from_encoding