[python] 다음 뉴스 크롤링 (python crawling)
import requests import lxml.html import pandas as pd from pandas.io import sql import os import time import datetime 뉴스 url 에 필요한 date list date_index = pd.date_range(start='20210801', end='20210803') date_list = date_index.strftime("%Y%m%d").tolist() date_list category = ['politics', 'economic', 'society', 'culture', 'foreign', 'digital'] id_list = ['10000', '10100', '10200', '10300', '10400', ..
2021. 9. 12.