bs4

    ์›น ํฌ๋กค๋ง(BeautifulSoup)

    1. BeautifulSoup ์„ค์น˜ - ์—ฌ๊ธฐ์„œ BeautifulSoup์€ ๋ฌด์—‡์ธ๊ฐ€? ์˜ˆ์œ ์Šพ...? HTML ๋ฐ XML ํŒŒ์ผ์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ ์˜ค๊ธฐ์œ„ํ•œ Python ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ž…๋‹ˆ๋‹ค ์–ด์›์€ '์ด์ƒํ•œ ๋‚˜๋ผ์˜ ์•จ๋ฆฌ์Šค'์—์„œ ์œ ๋ž˜๋˜์—ˆ๋‹ค๊ณ  ํ•˜๊ณ  ์•„๋ฆ„๋‹ต๊ฒŒ ์ •๋ ฌํ•ด์ค€๋‹ค๋Š” ์ •๋„์˜ ์˜๋ฏธ?! Beautiful Soup Documentation — Beautiful Soup 4.9.0 documentation Non-pretty printing If you just want a string, with no fancy formatting, you can call str() on a BeautifulSoup object (unicode() in Python 2), or on a Tag within it: str(soup) # ' ..