Skip to main content

SNS text scraper

네이버 플레이스에 게시된 업체의 리뷰 데이터들를 추출해 주는 봇.

Installation

$ pip install naverplacescraper

Usage

사용 예제 notebook 참고.

Naver place

네이버 플레이스에 등록된 업체들의 description 데이터과 review 데이터를 추출.

Quick start

네이버 지도에서 첫번째 검색결과로 검색되는 업체의 데이터를 가져옴. 그렇기 때문에 검색결과에 따라 원하는 업체의 데이터가 뽑히지 않을 수 있음.

>>> from naverplacescraper import NaverPlace
>>> store_name = 'xxxxxx'
>>> store = NaverPlace(store_name)
>>> description = store.get_description()
>>> reviews = store.get_reviews()  # defaults to 100 reviews.

Output

>>> description
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
>>> reviews
|  date  | review |
|--------|--------|
|  x.x.X | xxxxxx |

Credit

좌표를 설정하는데 사용된 kor_coordinates.txt는 cubensys님의 Korea_District에 있는 대한민국_기초자치단체_중심점_2017.csv를 사용하였습니다.

Disclaimer

이 프로젝트는 비상업적 용도를 위해 제작되었습니다. 용도에 맞게 사용해주시길 바랍니다.

Metadata

Release files for naverplacescraper 1.0.0

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

Source distribution (sdist)

Source distribution for naverplacescraper 1.0.0
File Size Uploaded
naverplacescraper-1.0.0.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for naverplacescraper 1.0.0
File Interpreter ABI Platform
naverplacescraper-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.6 kB

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

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