์ง๋ฌธ์
๋๋ค
import requestsfrom bs4 import BeautifulSoup#์ํฐ์น๊ธฐreq = requests.get('http://www.donga.com/news/List/Enter/?p=1&prod=news&ymd=&m= ')#HTML ๋ฐ์์ค๊ธฐsoup = BeautifulSoup(req.text, 'html.parser')print(soup.select("#contents > div.page> a"))์ ๊ฐ ์ด๋ณด์์ฌ์, ์ ์ฒด ์์ค์ฝ๋๋ฅผ ๋ณด๋ด๋ฌ๋ผ๋๊ฒ... ์ด๋ ๊ฒ ๋๋ฆฌ๋ฉด ๋ ๊น์?