Closed bunseokbot closed 7 years ago
Beautiful Soup 참고자료: http://web.stanford.edu/~zlotnick/TextAsData/Web_Scraping_with_Beautiful_Soup.html
@reum
Web Scraping 할 때 Beautiful Soup 보단 간단한건 파이썬에 내장된 HTMLParser를 사용하는게 날 수도 있어요
버전대 별로 이렇게 선언할 수 있어요
from HTMLParser import HTMLParser
from html.parser import HTMLParser
아 저거 XML 형태인데 굳이 Beautiful Soup를 사용하기보단
https://docs.python.org/2/library/xml.etree.elementtree.html
https://docs.python.org/3/library/xml.etree.elementtree.html
이거 쓰시면 될거같아요 데이터는 requests 나 httplib 같은 기본 모듈 사용하고
헐 나 벌써 beautiful soup으로 했는데 ㅠㅠ 기본으로 하면 더 좋긴 하겠네 ㅠㅠ 나중에 시간나면 수정해야겠다.. 또륵.. 그럼 일단 다은이는 httplibs로 하는걸로... ;ㅅ;
@reum requirements.txt 파일에 꼭 추가해주세요~
@bunseokbot 걍 다시할라고 ㅋㅋㅋㅋㅋㅋ
우산 챙기렴 기능 구현하기