Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
/ news-scraper Public archive

Scraper of news that follows Naver News form.

License

Notifications You must be signed in to change notification settings

beerjoa/news-scraper

Repository files navigation

news_scraper

INSTALL

pip install -r requirements.txt

USAGE

1. og, o로 신문사를 선택, from-to로 날짜 선택, k로 키워드를 선택합니다.
신문사 리스트: 참조
키워드: 네이버 검색 연산자 사용 가능
ex)
  -og: newsOfficeGroup
  -o: newsOffice
  -from: from date (YYYYMMDD)
  -to: to date (YYYYMMDD)
  -k: news keyword

  python news-scraper.py -og=방송/통신 -o=1109,1079 -from=20200202 -to=20200205 -k="야구"
  python news-scraper.py -o=1109,1079 -o=1109,1079 -from=201901102 -to=20200205 -k="날씨 | 미세먼지"
  python news-scraper.py -og=경제/IT -o=1109,1079 -from=20130101 -to=20200205 -k="금리 인상"

run_git

2. outputNews 폴더에 "{from}-{to}-{k}.json"으로 저장

About

Scraper of news that follows Naver News form.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages