[Python] Open API 활용한 크롤링
네이버 쇼핑 검색 api 크롤링 import requests # 임포트 import pprint client_id = 'xxxxxx' # 본인 네이버 Client ID사용 client_secret = 'xxx' # 본인 Client Secret사용 naver_open_api = ' https://openapi.naver.com/v1/search/shop.json?query=갤럭시노트10' header_params = {"X-Naver-Client-Id":client_id, "X-Naver-Client-Secret":client_secret} res = requests.get(naver_open_api, headers=header_params) if res.status_code == 200: # statu..
2023.04.18