Easily getting the news from CNYES. Each article will be saved to your local dir.
ONLY FOR EDUCATION 方便從鉅亨網抓取新聞資料,供學術使用
# SEARCH START DAY AND END DAY
# MAXIMUM RANGE IS TWO MONTHS
START_DAY = '2017/12/01 00:00:00'
END_DAY = '2017/12/02 00:00:00'
# SET WHICH CATEGORY YOU WANT TO SEARCH:
# headline, all, tw_stock, wd_stock, cn_stock, forex, future
CATEGORY = 'headline'
git clone https://github.com/yad50968/CNYES_NEWS_CRAWLER.git
cd CNYES_NEWS_CRAWLER
python3 ./main.py
# ARTICLES WILL BE SAVED TO ./data/ DIR