Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

대한민국 3대 포털뉴스(네이버, 다음, 네이트)의 기사, 반응, 댓글, 답글 수집기

Project description

portalnews

대한민국 3대 포털뉴스(네이버, 다음, 네이트)의 기사, 반응, 댓글, 답글 수집기

설치

pip install portalnews

예시

from portalnews.naver import NaverNewsCrawler

articles = NaverNewsCrawler.get_daily_articles_by_category('20180511')

공통 지원 함수 목록

Method Parameters Naver Daum Nate
get_daily_articles_by_category date, category id O O O
get_daily_most_read_articles date, category id O O O
get_daily_most_commented_articles date, category id O O O
get_main_articles date, category id O O -
get_article_content article id O O O
get_article_reactions article id O O O
get_comment_metadata article id O O O
get_all_comments article id O O O
get_all_replies article id, comment id O O X

공통 지원 함수에 대한 더 더 자세한 설명, 그리고 각 모듈별로 다르게 지원하는 함수는 각 모듈의 README에 작성할 예정입니다.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for portalnews, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size portalnews-0.1.1-py3-none-any.whl (17.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page