반응형 파이썬라이브러리1 [Python] 파이썬 웹 스크래핑 시, 유용한 BeautifulSoup4! 라이브러리 소개 BeautifulSoup는 html과 xml 파일로부터 데이터를 추출하는 유명한 파이썬 라이브러리입니다. 원하는 파일, 원하는 웹 링크의 내용을 탐색하고 싶다면 BeautifulSoup에서 제공하는 기능을 활용할 수 있습니다. 예를 통해 간단하게 확인해 봅시다. 아래 문서는 '이상한 나라의 앨리스' 이야기의 일부분을 포함하고 있는 html 입니다. html_doc = """ The Dormouse's story Once upon a time there were three little sisters; and their names were Elsie, Lacie and Tillie; and they lived at the bottom of a well. ... 이 html 파일을 beautifulSoup에 .. 2024. 1. 26. 이전 1 다음 반응형