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 = NaverPlace('<store name>')
description = store.get_description()
reviews = store.get_reviews() # defaults to 100 reviews.
Output
description: str
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
reviews: pandas.DataFrame
| author | review |
|--------|--------|
| xxxx | xxxxxx |
Credit
좌표를 설정하는데 사용된 kor_coordinates.txt는 cubensys님의 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-0.7.2.tar.gz
(15.3 kB
view hashes)
Built Distribution
Close
Hashes for naverplacescraper-0.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f2b43627e55730a0d236bcb27a04e5b2cd108604ff4e3b676cd47a42ec16857 |
|
MD5 | c86849c2fe3db032299b03a97ab7edd3 |
|
BLAKE2b-256 | 9a991d51acb4a08b7e39a55710390a4a8bcb69b310b6c1ce580d15773c06e359 |