HTML

api를 사용하다가 이상한 게 발견 되었다. FLAC stands for "Free Lossless Audio Condenser"' 정상적으로 출력되야하는 문장일텐데 html entity가 발견된 것이다. 이것을 어떻게 없애는지 궁금해서 찾아보니 매우 단순했다. html module을 import 해서 unescape를 해주면 된다. import html html.unescape("FLAC stands for "Free Lossless Audio Condenser"'")
박준영_
'HTML' 태그의 글 목록