Skip to main content

Scrapes text data about the store/company from Naver Place.

Project description

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.txtcubensys님의 Korea_District에 있는 대한민국_기초자치단체_중심점_2017.csv를 사용하였습니다.

Disclaimer

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

Project details


Download files

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

Source Distribution

naverplacescraper-1.0.0.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

naverplacescraper-1.0.0-py3-none-any.whl (15.3 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