taegwon
<Genrestrtchifood>
<head>
<list_total_count>84117</list_total_count>
<RESULT>
<CODE>INFO-000</CODE>
<MESSAGE>정상 처리되었습니다.</MESSAGE>
</RESULT>
<api_version>1.0v</api_version>
</head>
<row>
<SIGUN_NM>광명시</SIGUN_NM>
<SIGUN_CD>41210</SIGUN_CD>
<BIZPLC_NM>항방양육관</BIZPLC_NM>
<LICENSG_DE>20160818</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>48.47</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2016</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>중국식</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 광명시 소하동 1343-6번지 1층 103호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 광명시 소하로 94, 1층 103호 (소하동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>14316</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>126.8835071969</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.4464702380</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>이천시</SIGUN_NM>
<SIGUN_CD>41500</SIGUN_CD>
<BIZPLC_NM>짬뽕류</BIZPLC_NM>
<LICENSG_DE>20141119</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>71.55</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY/>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM/>
<SANITTN_BIZCOND_NM/>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 이천시 장록동 290-10번지 (1층)</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 이천시 진상미로 2350, 1층 (장록동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>17399</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.4571373095</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.2546592317</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>김포시</SIGUN_NM>
<SIGUN_CD>41570</SIGUN_CD>
<BIZPLC_NM>파파차이나</BIZPLC_NM>
<LICENSG_DE>20160907</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>35.49</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2016</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>중국식</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 김포시 풍무동 598-4번지</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 김포시 풍무로 25, 가동 1층 110호 (풍무동, 센트럴메디프라자)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>10119</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>126.7201990095</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.5980395806</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>안산시</SIGUN_NM>
<SIGUN_CD>41270</SIGUN_CD>
<BIZPLC_NM>명옥반점</BIZPLC_NM>
<LICENSG_DE>20111116</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20180831</CLSBIZ_DE>
<LOCPLC_AR>36.19</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2011</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>중국식</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 안산시 단원구 원곡동 757-11번지</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 안산시 단원구 원본로 35, 1층 (원곡동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>15379</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>126.7937726697</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.3301876780</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>고양시</SIGUN_NM>
<SIGUN_CD>41280</SIGUN_CD>
<BIZPLC_NM>옥루</BIZPLC_NM>
<LICENSG_DE>20160929</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>166.47</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2016</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>중국식</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 고양시 덕양구 행신동 999-2번지 블레스타운 101,113호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 고양시 덕양구 충장로 122, 1층 101,113호 (행신동, 블레스타운)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>10518</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>126.8340004250</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.6235052997</REFINE_WGS84_LAT>
</row>
</Genrestrtchifood>
\ No newline at end of file
<Genrestrtfastfood>
<head>
<list_total_count>73077</list_total_count>
<RESULT>
<CODE>INFO-000</CODE>
<MESSAGE>정상 처리되었습니다.</MESSAGE>
</RESULT>
<api_version>1.0v</api_version>
</head>
<row>
<SIGUN_NM>하남시</SIGUN_NM>
<SIGUN_CD>41450</SIGUN_CD>
<BIZPLC_NM>요거트맨 하남미사점</BIZPLC_NM>
<LICENSG_DE>20210423</LICENSG_DE>
<BSN_STATE_NM>영업</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR/>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY/>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM/>
<SANITTN_BIZCOND_NM>커피숍</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 하남시 망월동 1100 힐스테이트 미사역 그랑파사쥬(12-1BL)</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 하남시 미사강변동로 95, 힐스테이트 미사역 그랑파사쥬(12-1BL) 1층 1024-1호 (망월동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>12913</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.1917398667</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.5637265182</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>수원시</SIGUN_NM>
<SIGUN_CD>41110</SIGUN_CD>
<BIZPLC_NM>한양맛집</BIZPLC_NM>
<LICENSG_DE>20210423</LICENSG_DE>
<BSN_STATE_NM>영업</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR/>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY/>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM/>
<SANITTN_BIZCOND_NM>기타</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT>0</TOT_EMPLY_CNT>
<REFINE_LOTNO_ADDR>경기도 수원시 팔달구 인계동 1170 인계한양수자인</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 수원시 팔달구 중부대로 80, 상가1동 1층 5호 (인계동, 인계한양수자인)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16471</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0248153786</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.2757886240</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>수원시</SIGUN_NM>
<SIGUN_CD>41110</SIGUN_CD>
<BIZPLC_NM>큰집 닭강정</BIZPLC_NM>
<LICENSG_DE>20210423</LICENSG_DE>
<BSN_STATE_NM>영업</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR/>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY/>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM/>
<SANITTN_BIZCOND_NM>호프/통닭</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT>0</TOT_EMPLY_CNT>
<REFINE_LOTNO_ADDR>경기도 수원시 영통구 원천동 589 광교중흥에스클래스</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 수원시 영통구 광교호수공원로 277, 판매시설동 B2층 74호 (원천동, 광교중흥에스클래스)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16517</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0575579762</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.2819999319</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>하남시</SIGUN_NM>
<SIGUN_CD>41450</SIGUN_CD>
<BIZPLC_NM>미사옥</BIZPLC_NM>
<LICENSG_DE>20210423</LICENSG_DE>
<BSN_STATE_NM>영업</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR/>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY/>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM/>
<SANITTN_BIZCOND_NM>식육(숯불구이)</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 하남시 망월동 1077-2 레이크힐</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 하남시 미사강변중앙로 219, 레이크힐 2층 203호 (망월동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>12913</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.1886164134</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.5660347996</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>양주시</SIGUN_NM>
<SIGUN_CD>41630</SIGUN_CD>
<BIZPLC_NM>랩츠커피</BIZPLC_NM>
<LICENSG_DE>20210423</LICENSG_DE>
<BSN_STATE_NM>영업</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR/>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY/>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM/>
<SANITTN_BIZCOND_NM>기타</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 양주시 만송동 23 1층 전체 라동</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 양주시 만송로 404, 라동 1층 (만송동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>11494</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0986497496</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.7937825808</REFINE_WGS84_LAT>
</row>
</Genrestrtfastfood>
\ No newline at end of file
<Genrestrtsash>
<head>
<list_total_count>79402</list_total_count>
<RESULT>
<CODE>INFO-000</CODE>
<MESSAGE>정상 처리되었습니다.</MESSAGE>
</RESULT>
<api_version>1.0v</api_version>
</head>
<row>
<SIGUN_NM>성남시</SIGUN_NM>
<SIGUN_CD>41130</SIGUN_CD>
<BIZPLC_NM>산성회</BIZPLC_NM>
<LICENSG_DE>20011005</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>56.55</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>2001</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM>주택가주변</BSNSITE_CIRCUMFR_DIV_NM>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>회집</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 성남시 수정구 산성동 1528번지 1층</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 성남시 수정구 수정로 340, 1층 (산성동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>13127</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.1499611490</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.4539594844</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>김포시</SIGUN_NM>
<SIGUN_CD>41570</SIGUN_CD>
<BIZPLC_NM>현수사</BIZPLC_NM>
<LICENSG_DE>20170602</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20180209</CLSBIZ_DE>
<LOCPLC_AR>99.76</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2017</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>회집</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 김포시 구래동 6884-8번지</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 김포시 김포한강9로 73, 2층 207호 (구래동, 김포센트럴프라자)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>10071</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>126.6254986178</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.6433522547</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>수원시</SIGUN_NM>
<SIGUN_CD>41110</SIGUN_CD>
<BIZPLC_NM>오와스시 광교점</BIZPLC_NM>
<LICENSG_DE>20170616</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>114.66</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2017</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>회집</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 수원시 영통구 이의동 1331번지</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 수원시 영통구 센트럴타운로 107, B45~46호 (이의동, 광교푸르지오월드마크)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16507</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0488364370</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.2917110567</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>남양주시</SIGUN_NM>
<SIGUN_CD>41360</SIGUN_CD>
<BIZPLC_NM>신포회시장</BIZPLC_NM>
<LICENSG_DE>20170620</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20180207</CLSBIZ_DE>
<LOCPLC_AR>28.98</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2017</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>회집</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 남양주시 화도읍 창현리 764번지</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 남양주시 화도읍 녹촌로 22 (신한토탈아파트 상가동 111호)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>12186</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.3003036309</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.6450003753</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>부천시</SIGUN_NM>
<SIGUN_CD>41190</SIGUN_CD>
<BIZPLC_NM>국민수산</BIZPLC_NM>
<LICENSG_DE>20170601</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>27.9</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2017</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM>기타</BSNSITE_CIRCUMFR_DIV_NM>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>회집</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 부천시 소사본동 78-42번지</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 부천시 소삼로15번길 3, 1층 (소사본동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>14705</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>126.7946719227</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.4788458599</REFINE_WGS84_LAT>
</row>
</Genrestrtsash>
\ No newline at end of file
<Genrestrtlunch>
<head>
<list_total_count>76492</list_total_count>
<RESULT>
<CODE>INFO-000</CODE>
<MESSAGE>정상 처리되었습니다.</MESSAGE>
</RESULT>
<api_version>1.0v</api_version>
</head>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>김밥천국신봉점</BIZPLC_NM>
<LICENSG_DE>20040330</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20150825</CLSBIZ_DE>
<LOCPLC_AR>85.79</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>2004</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>김밥(도시락)</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 수지구 신봉동 39번지 에덴파크Ⅱ 105,106호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 용인시 수지구 신봉2로 5 (신봉동, 에덴파크Ⅱ 105,106호)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16815</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0773597443</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.3235993369</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>소문난김밥</BIZPLC_NM>
<LICENSG_DE>20031204</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20060118</CLSBIZ_DE>
<LOCPLC_AR>42.56</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>2003</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>김밥(도시락)</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 수지구 상현동 254-14번지 외6필지 A동 112호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 용인시 수지구 만현로 110</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16930</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0846083156</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.3067600253</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>김밥나라(죽전1호점)</BIZPLC_NM>
<LICENSG_DE>20040713</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20080908</CLSBIZ_DE>
<LOCPLC_AR>45.62</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>2004</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>김밥(도시락)</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 수지구 죽전동 452번지 외3(-6,-9,1088-15)그린피아104호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 용인시 수지구 정든로6번길 2</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16873</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.1128952359</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.3271642293</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>김밥나라상현점</BIZPLC_NM>
<LICENSG_DE>20040519</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20050823</CLSBIZ_DE>
<LOCPLC_AR>50</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>2004</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>김밥(도시락)</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 수지구 상현동 354-12번지 송정빌딩101호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 용인시 수지구 상현로 7</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16938</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0750943961</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.3029584393</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>콩사돈</BIZPLC_NM>
<LICENSG_DE>20030514</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>50.75</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>2003</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>김밥(도시락)</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 수지구 상현동 257-22번지 거묵프라자 141호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 용인시 수지구 만현로 100 (상현동,거묵프라자 141호)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16930</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0846812565</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.3078599768</REFINE_WGS84_LAT>
</row>
</Genrestrtlunch>
\ No newline at end of file
<Genrestrtjpnfood>
<head>
<list_total_count>80940</list_total_count>
<RESULT>
<CODE>INFO-000</CODE>
<MESSAGE>정상 처리되었습니다.</MESSAGE>
</RESULT>
<api_version>1.0v</api_version>
</head>
<row>
<SIGUN_NM>양평군</SIGUN_NM>
<SIGUN_CD>41830</SIGUN_CD>
<BIZPLC_NM>하루</BIZPLC_NM>
<LICENSG_DE>20090810</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>97.92</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>1</MALE_ENFLPSN_CNT>
<YY>2009</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>2</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM>기타</BSNSITE_CIRCUMFR_DIV_NM>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>일식</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 양평군 양평읍 양근리 169-8번지 1층</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 양평군 양평읍 관문길 2, 1층</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>12557</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.4943213960</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.4902801829</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>의정부시</SIGUN_NM>
<SIGUN_CD>41150</SIGUN_CD>
<BIZPLC_NM>夜(야) 도깨비</BIZPLC_NM>
<LICENSG_DE>20150520</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20180801</CLSBIZ_DE>
<LOCPLC_AR>58.44</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2015</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>일식</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 의정부시 민락동 829-4번지</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 의정부시 오목로225번길 79-31, 지상1층 (민락동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>11813</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0973509762</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.7463507070</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>이천시</SIGUN_NM>
<SIGUN_CD>41500</SIGUN_CD>
<BIZPLC_NM>스시퍼블릭</BIZPLC_NM>
<LICENSG_DE>20150609</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>35.85</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2015</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM>기타</BSNSITE_CIRCUMFR_DIV_NM>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>일식</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 이천시 창전동 165-1번지 외1필지 106호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 이천시 이섭대천로 1229, 106호 (창전동, 타워빌딩)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>17369</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.4465192071</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.2801285355</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>안산시</SIGUN_NM>
<SIGUN_CD>41270</SIGUN_CD>
<BIZPLC_NM>율림식당</BIZPLC_NM>
<LICENSG_DE>20050610</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>41.76</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2005</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>일식</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 안산시 단원구 고잔동 707번지 106호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 안산시 단원구 광덕서로 86 (고잔동, 707 106호 )</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>15471</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>126.8277048866</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.3123127393</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>화성시</SIGUN_NM>
<SIGUN_CD>41590</SIGUN_CD>
<BIZPLC_NM>세야스시</BIZPLC_NM>
<LICENSG_DE>20150515</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>57.17</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2015</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>일식</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 화성시 반송동 93-6번지 센트럴S타운</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 화성시 메타폴리스로 47-25, 1층 111호 (반송동, 센트럴S타운)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>18454</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.0723879028</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.2029115804</REFINE_WGS84_LAT>
</row>
</Genrestrtjpnfood>
\ No newline at end of file
{
"cells": [
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Requirement already satisfied: googlemaps in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (4.6.0)\n",
"Requirement already satisfied: requests<3.0,>=2.20.0 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from googlemaps) (2.24.0)\n",
"Requirement already satisfied: idna<3,>=2.5 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from requests<3.0,>=2.20.0->googlemaps) (2.10)\n",
"Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from requests<3.0,>=2.20.0->googlemaps) (1.22)\n",
"Requirement already satisfied: chardet<4,>=3.0.2 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from requests<3.0,>=2.20.0->googlemaps) (3.0.4)\n",
"Requirement already satisfied: certifi>=2017.4.17 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from requests<3.0,>=2.20.0->googlemaps) (2020.6.20)\n"
]
}
],
"source": [
"%pip install googlemaps"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Requirement already satisfied: folium in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (0.12.1.post1)\n",
"Requirement already satisfied: jinja2>=2.9 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from folium) (2.11.2)\n",
"Requirement already satisfied: branca>=0.3.0 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from folium) (0.5.0)\n",
"Requirement already satisfied: numpy in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from folium) (1.22.4)\n",
"Requirement already satisfied: requests in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from folium) (2.24.0)\n",
"Requirement already satisfied: MarkupSafe>=0.23 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from jinja2>=2.9->folium) (1.1.1)\n",
"Requirement already satisfied: certifi>=2017.4.17 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from requests->folium) (2020.6.20)\n",
"Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from requests->folium) (1.22)\n",
"Requirement already satisfied: chardet<4,>=3.0.2 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from requests->folium) (3.0.4)\n",
"Requirement already satisfied: idna<3,>=2.5 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from requests->folium) (2.10)\n"
]
}
],
"source": [
"%pip install folium"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Requirement already satisfied: selenium in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (4.2.0)\n",
"Requirement already satisfied: trio-websocket~=0.9 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from selenium) (0.9.2)\n",
"Requirement already satisfied: trio~=0.17 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from selenium) (0.20.0)\n",
"Collecting urllib3[secure,socks]~=1.26\n",
" Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)\n",
"Requirement already satisfied: async-generator>=1.9 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from trio~=0.17->selenium) (1.10)\n",
"Requirement already satisfied: cffi>=1.14 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from trio~=0.17->selenium) (1.14.3)\n",
"Requirement already satisfied: idna in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from trio~=0.17->selenium) (2.10)\n",
"Requirement already satisfied: sniffio in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from trio~=0.17->selenium) (1.2.0)\n",
"Requirement already satisfied: outcome in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from trio~=0.17->selenium) (1.1.0)\n",
"Requirement already satisfied: attrs>=19.2.0 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from trio~=0.17->selenium) (20.3.0)\n",
"Requirement already satisfied: sortedcontainers in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from trio~=0.17->selenium) (2.2.2)\n",
"Requirement already satisfied: wsproto>=0.14 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from trio-websocket~=0.9->selenium) (1.1.0)\n",
"Requirement already satisfied: PySocks!=1.5.7,<2.0,>=1.5.6 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from urllib3[secure,socks]~=1.26->selenium) (1.7.1)\n",
"Requirement already satisfied: pyOpenSSL>=0.14 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from urllib3[secure,socks]~=1.26->selenium) (19.1.0)\n",
"Requirement already satisfied: cryptography>=1.3.4 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from urllib3[secure,socks]~=1.26->selenium) (3.1.1)\n",
"Requirement already satisfied: certifi in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from urllib3[secure,socks]~=1.26->selenium) (2020.6.20)\n",
"Requirement already satisfied: pycparser in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from cffi>=1.14->trio~=0.17->selenium) (2.20)\n",
"Requirement already satisfied: six>=1.4.1 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from cryptography>=1.3.4->urllib3[secure,socks]~=1.26->selenium) (1.15.0)\n",
"Requirement already satisfied: h11<1,>=0.9.0 in c:\\users\\pnr02\\anaconda3\\lib\\site-packages (from wsproto>=0.14->trio-websocket~=0.9->selenium) (0.13.0)\n",
"Installing collected packages: urllib3\n",
" Attempting uninstall: urllib3\n",
" Found existing installation: urllib3 1.22\n",
" Uninstalling urllib3-1.22:\n",
" Successfully uninstalled urllib3-1.22\n",
"Successfully installed urllib3-1.26.9\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
"requests 2.24.0 requires urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1, but you have urllib3 1.26.9 which is incompatible.\n"
]
}
],
"source": [
"%pip install selenium"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting urllib3==1.22\n",
" Using cached urllib3-1.22-py2.py3-none-any.whl (132 kB)\n",
"Installing collected packages: urllib3\n",
" Attempting uninstall: urllib3\n",
" Found existing installation: urllib3 1.26.9\n",
" Uninstalling urllib3-1.26.9:\n",
" Successfully uninstalled urllib3-1.26.9\n",
"Successfully installed urllib3-1.22\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n",
"selenium 4.2.0 requires urllib3[secure,socks]~=1.26, but you have urllib3 1.22 which is incompatible.\n"
]
}
],
"source": [
"%pip install urllib3==1.22"
]
},
{
"cell_type": "code",
"execution_count": 35,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"<ipython-input-35-8eb54e3817f4>:28: DeprecationWarning: executable_path has been deprecated, please pass in a Service object\n",
" driver = webdriver.Chrome(os.path.join(os.getcwd(), chromedriver_path), options=options)\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"찾고싶은 음식종류서울 한식집\n",
"파일이름: 영어로치기SeoulKor\n"
]
}
],
"source": [
"import time\n",
"import os\n",
"from selenium import webdriver\n",
"from selenium.webdriver.common.keys import Keys\n",
"\n",
"import requests\n",
"import csv\n",
"import urllib.request\n",
"import urllib.parse\n",
"import re\n",
"from bs4 import BeautifulSoup\n",
"\n",
"headers = {\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36\"}\n",
"\n",
"\n",
"list = []\n",
"\n",
"url = \"https://map.kakao.com/\"\n",
"\n",
"options = webdriver.ChromeOptions()\n",
"\n",
"options = webdriver.ChromeOptions()\n",
"\n",
"options.add_argument('lang=ko_KR')\n",
"\n",
"chromedriver_path = \"chromedriver\"\n",
"\n",
"driver = webdriver.Chrome(os.path.join(os.getcwd(), chromedriver_path), options=options)\n",
"\n",
"\n",
"driver.get(url)\n",
"\n",
"searchloc = input(\"찾고싶은 음식종류\")\n",
"\n",
"filename = input(\"파일이름: 영어로치기\")"
]
},
{
"cell_type": "code",
"execution_count": 34,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"<ipython-input-34-45a7f2f9dddb>:1: DeprecationWarning: find_element_by_xpath is deprecated. Please use find_element(by=By.XPATH, value=xpath) instead\n",
" search_area = driver.find_element_by_xpath('//*[@id=\"search.keyword.query\"]')\n"
]
},
{
"ename": "KeyboardInterrupt",
"evalue": "",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\urllib3\\connectionpool.py\u001b[0m in \u001b[0;36m_make_request\u001b[1;34m(self, conn, method, url, timeout, chunked, **httplib_request_kw)\u001b[0m\n\u001b[0;32m 379\u001b[0m \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m \u001b[1;31m# Python 2.7, use buffering of HTTP responses\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 380\u001b[1;33m \u001b[0mhttplib_response\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mconn\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mgetresponse\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mbuffering\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;32mTrue\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 381\u001b[0m \u001b[1;32mexcept\u001b[0m \u001b[0mTypeError\u001b[0m\u001b[1;33m:\u001b[0m \u001b[1;31m# Python 2.6 and older, Python 3\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mTypeError\u001b[0m: getresponse() got an unexpected keyword argument 'buffering'",
"\nDuring handling of the above exception, another exception occurred:\n",
"\u001b[1;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-34-45a7f2f9dddb>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0msearch_area\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mdriver\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mfind_element_by_xpath\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'//*[@id=\"search.keyword.query\"]'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 2\u001b[0m \u001b[0msearch_area\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msend_keys\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0msearchloc\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 3\u001b[0m \u001b[0mdriver\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mfind_element_by_xpath\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'//*[@id=\"search.keyword.submit\"]'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msend_keys\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mKeys\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mENTER\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 4\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 5\u001b[0m \u001b[0mtime\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msleep\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;36m2\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\u001b[0m in \u001b[0;36mfind_element_by_xpath\u001b[1;34m(self, xpath)\u001b[0m\n\u001b[0;32m 524\u001b[0m \u001b[0mstacklevel\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;36m2\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 525\u001b[0m )\n\u001b[1;32m--> 526\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mfind_element\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mby\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mBy\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mXPATH\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mvalue\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mxpath\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 527\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 528\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0mfind_elements_by_xpath\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mxpath\u001b[0m\u001b[1;33m)\u001b[0m \u001b[1;33m->\u001b[0m \u001b[0mList\u001b[0m\u001b[1;33m[\u001b[0m\u001b[0mWebElement\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\u001b[0m in \u001b[0;36mfind_element\u001b[1;34m(self, by, value)\u001b[0m\n\u001b[0;32m 1249\u001b[0m \u001b[0mvalue\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;34m'[name=\"%s\"]'\u001b[0m \u001b[1;33m%\u001b[0m \u001b[0mvalue\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 1250\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 1251\u001b[1;33m return self.execute(Command.FIND_ELEMENT, {\n\u001b[0m\u001b[0;32m 1252\u001b[0m \u001b[1;34m'using'\u001b[0m\u001b[1;33m:\u001b[0m \u001b[0mby\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 1253\u001b[0m 'value': value})['value']\n",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\u001b[0m in \u001b[0;36mexecute\u001b[1;34m(self, driver_command, params)\u001b[0m\n\u001b[0;32m 426\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 427\u001b[0m \u001b[0mparams\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_wrap_value\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mparams\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 428\u001b[1;33m \u001b[0mresponse\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mcommand_executor\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mexecute\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mdriver_command\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mparams\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 429\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mresponse\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 430\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0merror_handler\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mcheck_response\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mresponse\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\selenium\\webdriver\\remote\\remote_connection.py\u001b[0m in \u001b[0;36mexecute\u001b[1;34m(self, command, params)\u001b[0m\n\u001b[0;32m 345\u001b[0m \u001b[0mdata\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mutils\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mdump_json\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mparams\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 346\u001b[0m \u001b[0murl\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;34mf\"{self._url}{path}\"\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 347\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_request\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mcommand_info\u001b[0m\u001b[1;33m[\u001b[0m\u001b[1;36m0\u001b[0m\u001b[1;33m]\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0murl\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mbody\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mdata\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 348\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 349\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0m_request\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mmethod\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0murl\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mbody\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;32mNone\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\selenium\\webdriver\\remote\\remote_connection.py\u001b[0m in \u001b[0;36m_request\u001b[1;34m(self, method, url, body)\u001b[0m\n\u001b[0;32m 367\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 368\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mkeep_alive\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 369\u001b[1;33m \u001b[0mresponse\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_conn\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mrequest\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0murl\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mbody\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mbody\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mheaders\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mheaders\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 370\u001b[0m \u001b[0mstatuscode\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mresponse\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mstatus\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 371\u001b[0m \u001b[1;32melse\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\urllib3\\request.py\u001b[0m in \u001b[0;36mrequest\u001b[1;34m(self, method, url, fields, headers, **urlopen_kw)\u001b[0m\n\u001b[0;32m 66\u001b[0m **urlopen_kw)\n\u001b[0;32m 67\u001b[0m \u001b[1;32melse\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m---> 68\u001b[1;33m return self.request_encode_body(method, url, fields=fields,\n\u001b[0m\u001b[0;32m 69\u001b[0m \u001b[0mheaders\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mheaders\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 70\u001b[0m **urlopen_kw)\n",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\urllib3\\request.py\u001b[0m in \u001b[0;36mrequest_encode_body\u001b[1;34m(self, method, url, fields, headers, encode_multipart, multipart_boundary, **urlopen_kw)\u001b[0m\n\u001b[0;32m 146\u001b[0m \u001b[0mextra_kw\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mupdate\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0murlopen_kw\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 147\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 148\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0murlopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0murl\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m**\u001b[0m\u001b[0mextra_kw\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\urllib3\\poolmanager.py\u001b[0m in \u001b[0;36murlopen\u001b[1;34m(self, method, url, redirect, **kw)\u001b[0m\n\u001b[0;32m 319\u001b[0m \u001b[0mresponse\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mconn\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0murlopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0murl\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m**\u001b[0m\u001b[0mkw\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 320\u001b[0m \u001b[1;32melse\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 321\u001b[1;33m \u001b[0mresponse\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mconn\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0murlopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mmethod\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mu\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mrequest_uri\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m**\u001b[0m\u001b[0mkw\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 322\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 323\u001b[0m \u001b[0mredirect_location\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mredirect\u001b[0m \u001b[1;32mand\u001b[0m \u001b[0mresponse\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mget_redirect_location\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\urllib3\\connectionpool.py\u001b[0m in \u001b[0;36murlopen\u001b[1;34m(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)\u001b[0m\n\u001b[0;32m 596\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 597\u001b[0m \u001b[1;31m# Make the request on the httplib connection object.\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 598\u001b[1;33m httplib_response = self._make_request(conn, method, url,\n\u001b[0m\u001b[0;32m 599\u001b[0m \u001b[0mtimeout\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mtimeout_obj\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 600\u001b[0m \u001b[0mbody\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mbody\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mheaders\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mheaders\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\site-packages\\urllib3\\connectionpool.py\u001b[0m in \u001b[0;36m_make_request\u001b[1;34m(self, conn, method, url, timeout, chunked, **httplib_request_kw)\u001b[0m\n\u001b[0;32m 381\u001b[0m \u001b[1;32mexcept\u001b[0m \u001b[0mTypeError\u001b[0m\u001b[1;33m:\u001b[0m \u001b[1;31m# Python 2.6 and older, Python 3\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 382\u001b[0m \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 383\u001b[1;33m \u001b[0mhttplib_response\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mconn\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mgetresponse\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 384\u001b[0m \u001b[1;32mexcept\u001b[0m \u001b[0mException\u001b[0m \u001b[1;32mas\u001b[0m \u001b[0me\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 385\u001b[0m \u001b[1;31m# Remove the TypeError from the exception chain in Python 3;\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\http\\client.py\u001b[0m in \u001b[0;36mgetresponse\u001b[1;34m(self)\u001b[0m\n\u001b[0;32m 1345\u001b[0m \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 1346\u001b[0m \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 1347\u001b[1;33m \u001b[0mresponse\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mbegin\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 1348\u001b[0m \u001b[1;32mexcept\u001b[0m \u001b[0mConnectionError\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 1349\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mclose\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\http\\client.py\u001b[0m in \u001b[0;36mbegin\u001b[1;34m(self)\u001b[0m\n\u001b[0;32m 305\u001b[0m \u001b[1;31m# read until we get a non-100 response\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 306\u001b[0m \u001b[1;32mwhile\u001b[0m \u001b[1;32mTrue\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 307\u001b[1;33m \u001b[0mversion\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mstatus\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mreason\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_read_status\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 308\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mstatus\u001b[0m \u001b[1;33m!=\u001b[0m \u001b[0mCONTINUE\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 309\u001b[0m \u001b[1;32mbreak\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\http\\client.py\u001b[0m in \u001b[0;36m_read_status\u001b[1;34m(self)\u001b[0m\n\u001b[0;32m 266\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 267\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0m_read_status\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 268\u001b[1;33m \u001b[0mline\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mstr\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mfp\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mreadline\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0m_MAXLINE\u001b[0m \u001b[1;33m+\u001b[0m \u001b[1;36m1\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;34m\"iso-8859-1\"\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 269\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mlen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mline\u001b[0m\u001b[1;33m)\u001b[0m \u001b[1;33m>\u001b[0m \u001b[0m_MAXLINE\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 270\u001b[0m \u001b[1;32mraise\u001b[0m \u001b[0mLineTooLong\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m\"status line\"\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\anaconda3\\lib\\socket.py\u001b[0m in \u001b[0;36mreadinto\u001b[1;34m(self, b)\u001b[0m\n\u001b[0;32m 667\u001b[0m \u001b[1;32mwhile\u001b[0m \u001b[1;32mTrue\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 668\u001b[0m \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 669\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_sock\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mrecv_into\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mb\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 670\u001b[0m \u001b[1;32mexcept\u001b[0m \u001b[0mtimeout\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 671\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_timeout_occurred\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;32mTrue\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mKeyboardInterrupt\u001b[0m: "
]
}
],
"source": [
"search_area = driver.find_element_by_xpath('//*[@id=\"search.keyword.query\"]')\n",
"search_area.send_keys(searchloc)\n",
"driver.find_element_by_xpath('//*[@id=\"search.keyword.submit\"]').send_keys(Keys.ENTER)\n",
"\n",
"time.sleep(2)\n",
"\n",
"driver.find_element_by_xpath('//*[@id=\"info.main.options\"]/li[2]/a').send_keys(Keys.ENTER)"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [],
"source": [
"def storeNamePrint():\n",
" \n",
" time.sleep(0.2)\n",
" \n",
" html = driver.page_source\n",
" soup = BeautifulSoup(html, 'html.parser')\n",
" \n",
" cafe_lists = soup.select('.placelist > .PlaceItem')\n",
" count =1\n",
" for cafe in cafe_lists:\n",
" \n",
" temp=[]\n",
" cafe_name = cafe.select('.head_item > .tit_name > .link_name')[0].text\n",
" food_score = cafe.select('.rating > .score > .num')[0].text\n",
" review = cafe.select('.rating > .review')[0].text\n",
" link = cafe.select('.contact > .moreview' )[0]['href']\n",
" addr = cafe.select('.addr')[0].text\n",
" \n",
" \n",
" review= review[3:len(review)]\n",
" \n",
" review = int(re.sub(\",\",\"\",review))\n",
" \n",
" print(cafe_name, food_score, review, link, addr)\n",
" \n",
" temp.append(cafe_name)\n",
" temp.append(food_score)\n",
" temp.append(review)\n",
" temp.append(link)\n",
" temp.append(addr)\n",
" \n",
" list.append(temp)\n",
" \n",
" f=open(filename+'.csv', \"w\", encoding=\"utf-8-sig\",newline=\"\")\n",
" writercsv=csv.writer(f)\n",
" header=['Name', 'Score', 'Review', 'Link', 'Addr']\n",
" writercsv.writerow(header)\n",
" \n",
" for i in list:\n",
" writercsv.writerow(i)"
]
},
{
"cell_type": "code",
"execution_count": 45,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"** 1 **\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"<ipython-input-45-c53d51277e5a>:10: DeprecationWarning: find_element_by_xpath is deprecated. Please use find_element(by=By.XPATH, value=xpath) instead\n",
" driver.find_element_by_xpath(f'//*[@id=\"info.search.page.no{page2}\"]').send_keys(Keys.ENTER)\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"진대감 신사점 4.2 62 https://place.map.kakao.com/17678577 \n",
"서울 서초구 나루터로12길 18\n",
"(지번) 잠원동 23-8\n",
"\n",
"이한진숙성회 4.1 129 https://place.map.kakao.com/1010304045 \n",
"서울 강동구 구천면로 247-1 2층\n",
"(지번) 천호동 393-15\n",
"\n",
"무식당 2.3 99 https://place.map.kakao.com/2144202741 \n",
"서울 성동구 왕십리로10길 5-9\n",
"(지번) 성수동1가 656-1042\n",
"\n",
"필녀의한정식 3.3 433 https://place.map.kakao.com/26848979 \n",
"서울 송파구 동남로 308\n",
"(지번) 오금동 129-24\n",
"\n",
"제주도그릴 특상본점 3.3 92 https://place.map.kakao.com/26541520 \n",
"서울 은평구 응암로 373 역촌빌딩 1층\n",
"(지번) 녹번동 161-5\n",
"\n",
"조가네갑오징어 사당직영3호점 3.3 94 https://place.map.kakao.com/21827385 \n",
"서울 동작구 남부순환로271길 24\n",
"(지번) 사당동 1041-5\n",
"\n",
"강고집 사당본점 4.6 123 https://place.map.kakao.com/736976770 \n",
"서울 서초구 방배천로4안길 6 1층\n",
"(지번) 방배동 451-7\n",
"\n",
"편안한집 3.6 26 https://place.map.kakao.com/8578960 \n",
"서울 종로구 북촌로 133\n",
"(지번) 삼청동 27-3\n",
"\n",
"육장 4.0 158 https://place.map.kakao.com/64633006 \n",
"서울 마포구 월드컵로19길 74 지하2층\n",
"(지번) 망원동 57-194\n",
"\n",
"능이버섯백숙 4.2 61 https://place.map.kakao.com/11279164 \n",
"서울 영등포구 선유로 32\n",
"(지번) 문래동4가 9-2\n",
"\n",
"박순례손말이고기 산정집 광화문점 2.7 157 https://place.map.kakao.com/27386457 \n",
"서울 종로구 새문안로5가길 3-10 선덕빌딩 2층\n",
"(지번) 당주동 3-2\n",
"\n",
"색동저고리 마포점 3.5 63 https://place.map.kakao.com/18582704 \n",
"서울 마포구 도화길 27 2층\n",
"(지번) 도화동 179-3\n",
"\n",
"갈비생각 발산점 3.8 122 https://place.map.kakao.com/617688288 \n",
"서울 강서구 강서로54길 42 1층\n",
"(지번) 등촌동 672\n",
"\n",
"주은감자탕 2.3 142 https://place.map.kakao.com/9427365 \n",
"서울 송파구 삼학사로 71 1층\n",
"(지번) 삼전동 132-14\n",
"\n",
"경주식당 3.6 172 https://place.map.kakao.com/27315733 \n",
"서울 마포구 와우산로13길 49-7\n",
"(지번) 상수동 314-10\n",
"\n",
"**크롤링완료**\n"
]
}
],
"source": [
"page =1\n",
"page2=0\n",
"\n",
"for i in range(0,34):\n",
" \n",
" try:\n",
" page2+=1\n",
" print(\"**\",page,\"**\")\n",
" \n",
" driver.find_element_by_xpath(f'//*[@id=\"info.search.page.no{page2}\"]').send_keys(Keys.ENTER)\n",
" storeNamePrint()\n",
" \n",
" if (page2)%5==0:\n",
" driver.find_element_by_xpath('//*[@id=\"info.search.page.next\"]').send_keys(Keys.ENTER)\n",
" page2=0\n",
" \n",
" page+=1\n",
" \n",
" except:\n",
" break\n",
" \n",
"print(\"**크롤링완료**\")"
]
},
{
"cell_type": "code",
"execution_count": 46,
"metadata": {},
"outputs": [],
"source": [
"import googlemaps\n",
"import pandas as pd\n",
"df_list=pd.read_csv(filename+'.csv',encoding='utf-8')\n",
"\n",
"gmaps_key = \"AIzaSyCI8potusd7KjsX-aGXX4jWMKWBoiop1jY\"\n",
"gmaps = googlemaps.Client(key = gmaps_key)\n"
]
},
{
"cell_type": "code",
"execution_count": 48,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"위경도 추가 완료\n"
]
},
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Name</th>\n",
" <th>Score</th>\n",
" <th>Review</th>\n",
" <th>Link</th>\n",
" <th>Addr</th>\n",
" <th>lat</th>\n",
" <th>lng</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>496</th>\n",
" <td>광주식당</td>\n",
" <td>3.3</td>\n",
" <td>105</td>\n",
" <td>https://place.map.kakao.com/18829150</td>\n",
" <td>\\n서울 동대문구 경동시장로2길 49-4\\n(지번) 청량리동 773\\n</td>\n",
" <td>37.580570</td>\n",
" <td>127.043681</td>\n",
" </tr>\n",
" <tr>\n",
" <th>497</th>\n",
" <td>호반</td>\n",
" <td>4.0</td>\n",
" <td>99</td>\n",
" <td>https://place.map.kakao.com/27269590</td>\n",
" <td>\\n서울 종로구 삼일대로26길 20\\n(지번) 낙원동 85-7\\n</td>\n",
" <td>37.573264</td>\n",
" <td>126.989129</td>\n",
" </tr>\n",
" <tr>\n",
" <th>498</th>\n",
" <td>신흥정육식당</td>\n",
" <td>3.4</td>\n",
" <td>72</td>\n",
" <td>https://place.map.kakao.com/21401480</td>\n",
" <td>\\n서울 강동구 양재대로89길 16\\n(지번) 성내동 428-2\\n</td>\n",
" <td>37.526853</td>\n",
" <td>127.134672</td>\n",
" </tr>\n",
" <tr>\n",
" <th>499</th>\n",
" <td>백억하누 강남본점</td>\n",
" <td>4.8</td>\n",
" <td>151</td>\n",
" <td>https://place.map.kakao.com/26431943</td>\n",
" <td>\\n서울 강남구 테헤란로5길 29\\n(지번) 역삼동 817-26\\n</td>\n",
" <td>37.500464</td>\n",
" <td>127.028756</td>\n",
" </tr>\n",
" <tr>\n",
" <th>500</th>\n",
" <td>계탄집 본점</td>\n",
" <td>4.4</td>\n",
" <td>111</td>\n",
" <td>https://place.map.kakao.com/26941179</td>\n",
" <td>\\n서울 광진구 능동로 31 1층\\n(지번) 자양동 553-264\\n</td>\n",
" <td>37.534207</td>\n",
" <td>127.067711</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Name Score Review Link \\\n",
"496 광주식당 3.3 105 https://place.map.kakao.com/18829150 \n",
"497 호반 4.0 99 https://place.map.kakao.com/27269590 \n",
"498 신흥정육식당 3.4 72 https://place.map.kakao.com/21401480 \n",
"499 백억하누 강남본점 4.8 151 https://place.map.kakao.com/26431943 \n",
"500 계탄집 본점 4.4 111 https://place.map.kakao.com/26941179 \n",
"\n",
" Addr lat lng \n",
"496 \\n서울 동대문구 경동시장로2길 49-4\\n(지번) 청량리동 773\\n 37.580570 127.043681 \n",
"497 \\n서울 종로구 삼일대로26길 20\\n(지번) 낙원동 85-7\\n 37.573264 126.989129 \n",
"498 \\n서울 강동구 양재대로89길 16\\n(지번) 성내동 428-2\\n 37.526853 127.134672 \n",
"499 \\n서울 강남구 테헤란로5길 29\\n(지번) 역삼동 817-26\\n 37.500464 127.028756 \n",
"500 \\n서울 광진구 능동로 31 1층\\n(지번) 자양동 553-264\\n 37.534207 127.067711 "
]
},
"execution_count": 48,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"place_lat = []\n",
"place_lng = []\n",
"\n",
"max_lat = 38.0\n",
"min_lat = 33.0\n",
"max_lng = 132.0\n",
"min_lng = 126.0\n",
"\n",
"\n",
"for place in df_list[\"Addr\"]:\n",
" tmp = gmaps.geocode(place, language = \"ko\")\n",
" \n",
" if tmp:\n",
" tmp_loc = tmp[0].get(\"geometry\")\n",
" tmp_lat = tmp_loc[\"location\"][\"lat\"]\n",
" tmp_lng = tmp_loc[\"location\"][\"lng\"]\n",
" \n",
" if(tmp_lat > max_lat or tmp_lat < min_lat or tmp_lng > max_lng or tmp_lng < min_lng):\n",
" place_lat.append(\"0\")\n",
" place_lng.append(\"0\")\n",
" \n",
" \n",
" else:\n",
" place_lat.append(tmp_lat)\n",
" place_lng.append(tmp_lng)\n",
" \n",
" else:\n",
" place_lat.append(\"0\")\n",
" place_lng.append(\"0\")\n",
" \n",
"print(\"위경도 추가 완료\")\n",
"\n",
"\n",
"df_list2 = pd.DataFrame(place_lat)\n",
"df_list2 = df_list2.rename(columns = {0: \"lat\"})\n",
"df_list3 = pd.DataFrame(place_lng)\n",
"df_list3 = df_list3.rename(columns = {0: \"lng\"})\n",
"\n",
"\n",
"df = pd.concat([df_list, df_list2, df_list3], axis = 1)\n",
"\n",
"df = df.query(\"lat != '0'\")\n",
"\n",
"df.to_csv(filename+\"location.csv\", encoding = \"utf-8-sig\")\n",
"\n",
"df.tail()"
]
},
{
"cell_type": "code",
"execution_count": 55,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'계탄집 본점<br> 평점 : 4.4<br> 리뷰수 : 111<br> 주소 : \\n서울 광진구 능동로 31 1층\\n(지번) 자양동 553-264\\n<br><a href=\"https://place.map.kakao.com/26941179\" target=\"_self\">https://place.map.kakao.com/26941179</a>'"
]
},
"execution_count": 55,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import pandas as pd\n",
"import folium\n",
"import webbrowser\n",
"from folium.plugins import MarkerCluster\n",
"\n",
"data_frame = pd.read_csv(filename+ \"location.csv\", encoding='utf-8')\n",
"\n",
"data_frame\n",
"\n",
"map = folium.Map(location = [35.8797296, 128.4964884], zoom_start =7)\n",
"\n",
"marker_cluster = MarkerCluster().add_to(map)\n",
"\n",
"\n",
"for index,a in data_frame.iterrows():\n",
" \n",
" \n",
" if float(a[\"Score\"]) >=4:\n",
" \n",
" score_color = \"red\"\n",
" \n",
" \n",
" elif float(a[\"Score\"]) >=3:\n",
" \n",
" score_color = \"orange\"\n",
" \n",
" \n",
" else:\n",
" \n",
" score_color = \"lightgreen\"\n",
" \n",
" \n",
" print_popup= str(a[\"Name\"])+\"<br> 평점 : \"+ str(a[\"Score\"])+ \"<br> 리뷰수 : \"+str(a[\"Review\"])+ \"<br> 주소 : \"+str(a[\"Addr\"])+ \"<br>\"+'<a href=\"'+ str(a[\"Link\"]) + '\" target=\"_self\">'+str(a[\"Link\"])+ '</a>'\n",
" \n",
" \n",
" folium.Marker(location = [a[\"lat\"], a[\"lng\"]],\n",
" \n",
" popup=print_popup, icon=folium.Icon(color=score_color)).add_to(marker_cluster)\n",
" \n",
"map\n",
"\n",
"map.save('selectWestern.html')\n",
"\n",
"\n",
"webbrowser.open('selectWestern.html')\n",
"\n",
"print_popup\n",
" "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
<Genrestrtsoup>
<head>
<list_total_count>74971</list_total_count>
<RESULT>
<CODE>INFO-000</CODE>
<MESSAGE>정상 처리되었습니다.</MESSAGE>
</RESULT>
<api_version>1.0v</api_version>
</head>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>먹거리장터</BIZPLC_NM>
<LICENSG_DE>20060317</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20080311</CLSBIZ_DE>
<LOCPLC_AR>26.98</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>2006</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>탕류</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 수지구 죽전동 1205-2번지 1필지 삼성프라자 105호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 용인시 수지구 현암로 104</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16880</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.1208535052</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.3315346858</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>추풍령감자탕</BIZPLC_NM>
<LICENSG_DE>20040907</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20060816</CLSBIZ_DE>
<LOCPLC_AR>184.65</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>2004</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>탕류</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 수지구 신봉동 -번지 신봉택지개발지구2-1블럭외1필지 드림타워 303,304호</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR/>
<REFINE_ZIP_CD/>
<REFINE_WGS84_LOGT/>
<REFINE_WGS84_LAT/>
</row>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>푸주옥</BIZPLC_NM>
<LICENSG_DE>19950817</LICENSG_DE>
<BSN_STATE_NM>운영중</BSN_STATE_NM>
<CLSBIZ_DE/>
<LOCPLC_AR>107.35</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>1995</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>탕류(보신용)</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 기흥구 상갈동 165-3번지</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 용인시 기흥구 신갈로 27 (상갈동)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>17067</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.1052412036</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.2690893098</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>쌍둥이보신탕</BIZPLC_NM>
<LICENSG_DE>20110914</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20160404</CLSBIZ_DE>
<LOCPLC_AR>73.93</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT/>
<YY>2011</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT/>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>탕류</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 처인구 김량장동 325-6번지 2층</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 용인시 처인구 용문로 144 (김량장동,2층)</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>17050</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.2017819036</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.2362183241</REFINE_WGS84_LAT>
</row>
<row>
<SIGUN_NM>용인시</SIGUN_NM>
<SIGUN_CD>41460</SIGUN_CD>
<BIZPLC_NM>산골미꾸라지매운탕</BIZPLC_NM>
<LICENSG_DE>20060904</LICENSG_DE>
<BSN_STATE_NM>폐업 등</BSN_STATE_NM>
<CLSBIZ_DE>20091013</CLSBIZ_DE>
<LOCPLC_AR>87.18</LOCPLC_AR>
<GRAD_FACLT_DIV_NM/>
<MALE_ENFLPSN_CNT>0</MALE_ENFLPSN_CNT>
<YY>2006</YY>
<MULTI_USE_BIZESTBL_YN/>
<GRAD_DIV_NM/>
<TOT_FACLT_SCALE/>
<FEMALE_ENFLPSN_CNT>0</FEMALE_ENFLPSN_CNT>
<BSNSITE_CIRCUMFR_DIV_NM/>
<SANITTN_INDUTYPE_NM>일반음식점</SANITTN_INDUTYPE_NM>
<SANITTN_BIZCOND_NM>탕류</SANITTN_BIZCOND_NM>
<TOT_EMPLY_CNT/>
<REFINE_LOTNO_ADDR>경기도 용인시 기흥구 보정동 1184-6번지 죽전1184-6 근생다가구주택 (1층) -동</REFINE_LOTNO_ADDR>
<REFINE_ROADNM_ADDR>경기도 용인시 기흥구 죽전로15번길 12-9</REFINE_ROADNM_ADDR>
<REFINE_ZIP_CD>16897</REFINE_ZIP_CD>
<REFINE_WGS84_LOGT>127.1106658262</REFINE_WGS84_LOGT>
<REFINE_WGS84_LAT>37.3217215453</REFINE_WGS84_LAT>
</row>
</Genrestrtsoup>
\ No newline at end of file