i3thuan5 / SuiSiann-KauTui

台灣媠聲標記網站
12 stars 3 forks source link

`<bs4.BeautifulSoup>` object ai choan cho `<str>`, fix #365 #367

Closed niauah closed 2 years ago

sih4sing5hong5 commented 2 years ago

365

niauah commented 2 years ago

https://www.crummy.com/software/BeautifulSoup/bs4/doc/#non-pretty-printing

If you just want a string, with no fancy formatting, you can call str() on a BeautifulSoup object, or on a Tag within it: