Skip to main content

Introduction

Naver News scraping library

Installation

pip install naverscrap

Usage

Single Query

from naverscrap import NaverScrap

ns = NaverScrap
df = ns.obtain_results("Tesla", "2020.03.04", "2020.04.04", 10, False) 
                        #query(s), start_date, end_date, no. of results for each query, ascending (false by default)

Multiple Queries

from naverscrap import NaverScrap

ns = NaverScrap
queries = ["Tesla", "Facebook", "카카오"] # list of query
df = ns.obtain_results(queries, "2020.03.04", "2020.04.04", 10, False) 
                        #query(s), start_date, end_date, no. of results for each query, ascending (false by default)

The output dataframe will be in:

Column Description
Item Search Query
Date Date of News Article
Newspaper News Publication Company
Title of news Title of news article
Link Link to news article
Summary Summary of the news article

License

© 2021 Brendon Lim.

This repository is licensed under the MIT license.

See LICENSE for details.

Downloads

Metadata

Release files for naverscrap 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for naverscrap 1.0.6
File Size Uploaded
naverscrap-1.0.6.tar.gz 4.0 kB Details

Release history Release notifications | RSS feed

This release

1.0.6 This release

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page