Skip to main content

대한민국 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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

portalnews-0.1.1-py3-none-any.whl (17.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page