Skip to content

zyliutw/CNYES_NEWS_CRAWLER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CNYES_NEWS_CRAWLER

Easily getting the news from CNYES. Each article will be saved to your local dir.

INFO

ONLY FOR EDUCATION 方便從鉅亨網抓取新聞資料,供學術使用

Requirements

  1. Beautiful Soup
  2. request
  3. python3

SETTING DAYS

#   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'

SETTING CATEGORY

# SET WHICH CATEGORY YOU WANT TO SEARCH:
# headline, all, tw_stock, wd_stock, cn_stock, forex, future

CATEGORY = 'headline'

RUN

git clone https://github.com/yad50968/CNYES_NEWS_CRAWLER.git
cd CNYES_NEWS_CRAWLER
python3 ./main.py
# ARTICLES WILL BE SAVED TO ./data/ DIR

About

Easily getting the news from CNYES

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages