대한민국 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 | RSS feed
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
File details
Details for the file portalnews-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: portalnews-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b8bd6d04b09557060796b0dcab8deef31add5e73b98e98a3d3ab35042718a1d |
|
MD5 | cead663afba6f31e2788396baeb9fd6d |
|
BLAKE2b-256 | bb7b196a98878601d919d6fd2c839ba28507ba2dd9fcd765ca0f073093819890 |