[파이썬] BeautifulSoup 웹크롤링 하다가 메모...
#Beautiful Soup Documentation — Beautiful Soup 4.9.0 ...https://www.crummy.com/software/BeautifulSoup/bs4/doc/ https://www.youtube.com/watch?v=ZTJjW7XuHIYhttps://blog.naver.com/htk1019/220975205958 # a태그의 href 주소 가져올 때soup = BeautifulSoup(res.content, 'html.parser', from_encoding='utf-8')for anchor in soup.find_all('a'):print(anchor.get('href','/')) # 를 선택해서 Text만 출력할 때soup = BeautifulSoup(res.c..