Language/Python
BeautifulSoup 이용해서 html parsing하기
Linuxias
2017. 12. 16. 16:21
반응형
#if you don't install bs4, you must install bs4#pip install bs4from bs4 import BeautifulSoupimport requestsr = requests.get(url)soup = BeautifulSoup(r.text, "html.parser")mr = soup.find("")print(mr.get_text())
반응형