diff --git a/frontend_react/frontend/public/blue_marker.png b/frontend_react/frontend/public/blue_marker.png deleted file mode 100644 index 8fd7431..0000000 Binary files a/frontend_react/frontend/public/blue_marker.png and /dev/null differ diff --git a/frontend_react/frontend/public/gray_marker.png b/frontend_react/frontend/public/gray_marker.png deleted file mode 100644 index 9e8d2dc..0000000 Binary files a/frontend_react/frontend/public/gray_marker.png and /dev/null differ diff --git a/frontend_react/frontend/public/heart.png b/frontend_react/frontend/public/heart.png deleted file mode 100644 index 74b6abb..0000000 Binary files a/frontend_react/frontend/public/heart.png and /dev/null differ diff --git a/frontend_react/frontend/public/hobbang_banner_outline.png b/frontend_react/frontend/public/hobbang_banner_outline.png deleted file mode 100644 index 08beac2..0000000 Binary files a/frontend_react/frontend/public/hobbang_banner_outline.png and /dev/null differ diff --git a/frontend_react/frontend/public/hobbang_favicon_outline.png b/frontend_react/frontend/public/hobbang_favicon_outline.png deleted file mode 100644 index df744ee..0000000 Binary files a/frontend_react/frontend/public/hobbang_favicon_outline.png and /dev/null differ diff --git a/frontend_react/frontend/public/logo192.png b/frontend_react/frontend/public/logo192.png deleted file mode 100644 index fc44b0a..0000000 Binary files a/frontend_react/frontend/public/logo192.png and /dev/null differ diff --git a/frontend_react/frontend/public/logo512.png b/frontend_react/frontend/public/logo512.png deleted file mode 100644 index a4e47a6..0000000 Binary files a/frontend_react/frontend/public/logo512.png and /dev/null differ diff --git a/frontend_react/frontend/public/recommend_marker.png b/frontend_react/frontend/public/recommend_marker.png deleted file mode 100644 index 0479648..0000000 Binary files a/frontend_react/frontend/public/recommend_marker.png and /dev/null differ diff --git a/frontend_react/frontend/public/red_marker.png b/frontend_react/frontend/public/red_marker.png deleted file mode 100644 index 8639af0..0000000 Binary files a/frontend_react/frontend/public/red_marker.png and /dev/null differ diff --git a/frontend_react/frontend/src/logo.svg b/frontend_react/frontend/src/logo.svg deleted file mode 100644 index 9dfc1c0..0000000 --- a/frontend_react/frontend/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend_react/package-lock.json b/frontend_react/package-lock.json deleted file mode 100644 index 55ea0e7..0000000 --- a/frontend_react/package-lock.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "react", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "dependencies": { - "dotenv": "^16.0.3" - } - }, - "node_modules/dotenv": { - "version": "16.0.3", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", - "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==", - "engines": { - "node": ">=12" - } - } - }, - "dependencies": { - "dotenv": { - "version": "16.0.3", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", - "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==" - } - } -} diff --git a/frontend_react/package.json b/frontend_react/package.json deleted file mode 100644 index a747de8..0000000 --- a/frontend_react/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "dotenv": "^16.0.3" - } -} diff --git a/frontend_react/frontend/.gitignore b/webserver/frontend_react/.gitignore similarity index 100% rename from frontend_react/frontend/.gitignore rename to webserver/frontend_react/.gitignore diff --git a/frontend_react/frontend/README.md b/webserver/frontend_react/README.md similarity index 100% rename from frontend_react/frontend/README.md rename to webserver/frontend_react/README.md diff --git a/frontend_react/frontend/package-lock.json b/webserver/frontend_react/package-lock.json similarity index 100% rename from frontend_react/frontend/package-lock.json rename to webserver/frontend_react/package-lock.json diff --git a/frontend_react/frontend/package.json b/webserver/frontend_react/package.json similarity index 100% rename from frontend_react/frontend/package.json rename to webserver/frontend_react/package.json diff --git a/frontend_react/frontend/postcss.config.js b/webserver/frontend_react/postcss.config.js similarity index 100% rename from frontend_react/frontend/postcss.config.js rename to webserver/frontend_react/postcss.config.js diff --git a/frontend_react/frontend/public/index.html b/webserver/frontend_react/public/index.html similarity index 100% rename from frontend_react/frontend/public/index.html rename to webserver/frontend_react/public/index.html diff --git a/frontend_react/frontend/public/manifest.json b/webserver/frontend_react/public/manifest.json similarity index 100% rename from frontend_react/frontend/public/manifest.json rename to webserver/frontend_react/public/manifest.json diff --git a/frontend_react/frontend/public/robots.txt b/webserver/frontend_react/public/robots.txt similarity index 100% rename from frontend_react/frontend/public/robots.txt rename to webserver/frontend_react/public/robots.txt diff --git a/frontend_react/frontend/src/App.css b/webserver/frontend_react/src/App.css similarity index 100% rename from frontend_react/frontend/src/App.css rename to webserver/frontend_react/src/App.css diff --git a/frontend_react/frontend/src/App.test.tsx b/webserver/frontend_react/src/App.test.tsx similarity index 100% rename from frontend_react/frontend/src/App.test.tsx rename to webserver/frontend_react/src/App.test.tsx diff --git a/frontend_react/frontend/src/App.tsx b/webserver/frontend_react/src/App.tsx similarity index 100% rename from frontend_react/frontend/src/App.tsx rename to webserver/frontend_react/src/App.tsx diff --git a/frontend_react/frontend/src/Components/Badge.tsx b/webserver/frontend_react/src/Components/Badge.tsx similarity index 100% rename from frontend_react/frontend/src/Components/Badge.tsx rename to webserver/frontend_react/src/Components/Badge.tsx diff --git a/frontend_react/frontend/src/Components/Card.tsx b/webserver/frontend_react/src/Components/Card.tsx similarity index 100% rename from frontend_react/frontend/src/Components/Card.tsx rename to webserver/frontend_react/src/Components/Card.tsx diff --git a/frontend_react/frontend/src/Components/DetailListCard.tsx b/webserver/frontend_react/src/Components/DetailListCard.tsx similarity index 100% rename from frontend_react/frontend/src/Components/DetailListCard.tsx rename to webserver/frontend_react/src/Components/DetailListCard.tsx diff --git a/frontend_react/frontend/src/Components/Dropdown.tsx b/webserver/frontend_react/src/Components/Dropdown.tsx similarity index 100% rename from frontend_react/frontend/src/Components/Dropdown.tsx rename to webserver/frontend_react/src/Components/Dropdown.tsx diff --git a/frontend_react/frontend/src/Components/ImgWithHeart.tsx b/webserver/frontend_react/src/Components/ImgWithHeart.tsx similarity index 100% rename from frontend_react/frontend/src/Components/ImgWithHeart.tsx rename to webserver/frontend_react/src/Components/ImgWithHeart.tsx diff --git a/frontend_react/frontend/src/Components/InputBox.tsx b/webserver/frontend_react/src/Components/InputBox.tsx similarity index 100% rename from frontend_react/frontend/src/Components/InputBox.tsx rename to webserver/frontend_react/src/Components/InputBox.tsx diff --git a/frontend_react/frontend/src/Components/Modal.tsx b/webserver/frontend_react/src/Components/Modal.tsx similarity index 100% rename from frontend_react/frontend/src/Components/Modal.tsx rename to webserver/frontend_react/src/Components/Modal.tsx diff --git a/frontend_react/frontend/src/Components/Navbar.tsx b/webserver/frontend_react/src/Components/Navbar.tsx similarity index 100% rename from frontend_react/frontend/src/Components/Navbar.tsx rename to webserver/frontend_react/src/Components/Navbar.tsx diff --git a/frontend_react/frontend/src/Components/Sidebar.tsx b/webserver/frontend_react/src/Components/Sidebar.tsx similarity index 100% rename from frontend_react/frontend/src/Components/Sidebar.tsx rename to webserver/frontend_react/src/Components/Sidebar.tsx diff --git a/frontend_react/frontend/src/Components/Sidebar2.tsx b/webserver/frontend_react/src/Components/Sidebar2.tsx similarity index 100% rename from frontend_react/frontend/src/Components/Sidebar2.tsx rename to webserver/frontend_react/src/Components/Sidebar2.tsx diff --git a/frontend_react/frontend/src/Components/SimpleListCard.tsx b/webserver/frontend_react/src/Components/SimpleListCard.tsx similarity index 100% rename from frontend_react/frontend/src/Components/SimpleListCard.tsx rename to webserver/frontend_react/src/Components/SimpleListCard.tsx diff --git a/frontend_react/frontend/src/Contexts/UserInfoContext.tsx b/webserver/frontend_react/src/Contexts/UserInfoContext.tsx similarity index 100% rename from frontend_react/frontend/src/Contexts/UserInfoContext.tsx rename to webserver/frontend_react/src/Contexts/UserInfoContext.tsx diff --git a/frontend_react/frontend/src/Contexts/index.ts b/webserver/frontend_react/src/Contexts/index.ts similarity index 100% rename from frontend_react/frontend/src/Contexts/index.ts rename to webserver/frontend_react/src/Contexts/index.ts diff --git a/frontend_react/frontend/src/Pages/Initial/Infra.tsx b/webserver/frontend_react/src/Pages/Initial/Infra.tsx similarity index 100% rename from frontend_react/frontend/src/Pages/Initial/Infra.tsx rename to webserver/frontend_react/src/Pages/Initial/Infra.tsx diff --git a/frontend_react/frontend/src/Pages/Initial/Login.tsx b/webserver/frontend_react/src/Pages/Initial/Login.tsx similarity index 100% rename from frontend_react/frontend/src/Pages/Initial/Login.tsx rename to webserver/frontend_react/src/Pages/Initial/Login.tsx diff --git a/frontend_react/frontend/src/Pages/Initial/Signup.tsx b/webserver/frontend_react/src/Pages/Initial/Signup.tsx similarity index 100% rename from frontend_react/frontend/src/Pages/Initial/Signup.tsx rename to webserver/frontend_react/src/Pages/Initial/Signup.tsx diff --git a/frontend_react/frontend/src/back.svg b/webserver/frontend_react/src/back.svg similarity index 100% rename from frontend_react/frontend/src/back.svg rename to webserver/frontend_react/src/back.svg diff --git a/frontend_react/frontend/src/data/config/guConfig.ts b/webserver/frontend_react/src/data/config/guConfig.ts similarity index 100% rename from frontend_react/frontend/src/data/config/guConfig.ts rename to webserver/frontend_react/src/data/config/guConfig.ts diff --git a/frontend_react/frontend/src/data/config/infraConfig.ts b/webserver/frontend_react/src/data/config/infraConfig.ts similarity index 100% rename from frontend_react/frontend/src/data/config/infraConfig.ts rename to webserver/frontend_react/src/data/config/infraConfig.ts diff --git a/frontend_react/frontend/src/data/config/serverConfig.ts b/webserver/frontend_react/src/data/config/serverConfig.ts similarity index 100% rename from frontend_react/frontend/src/data/config/serverConfig.ts rename to webserver/frontend_react/src/data/config/serverConfig.ts diff --git a/frontend_react/frontend/src/data/fetchByUser.ts b/webserver/frontend_react/src/data/fetchByUser.ts similarity index 100% rename from frontend_react/frontend/src/data/fetchByUser.ts rename to webserver/frontend_react/src/data/fetchByUser.ts diff --git a/frontend_react/frontend/src/data/fetchHouseByGu.ts b/webserver/frontend_react/src/data/fetchHouseByGu.ts similarity index 100% rename from frontend_react/frontend/src/data/fetchHouseByGu.ts rename to webserver/frontend_react/src/data/fetchHouseByGu.ts diff --git a/frontend_react/frontend/src/data/index.ts b/webserver/frontend_react/src/data/index.ts similarity index 100% rename from frontend_react/frontend/src/data/index.ts rename to webserver/frontend_react/src/data/index.ts diff --git a/frontend_react/frontend/src/heart.svg b/webserver/frontend_react/src/heart.svg similarity index 100% rename from frontend_react/frontend/src/heart.svg rename to webserver/frontend_react/src/heart.svg diff --git a/frontend_react/frontend/src/index.css b/webserver/frontend_react/src/index.css similarity index 100% rename from frontend_react/frontend/src/index.css rename to webserver/frontend_react/src/index.css diff --git a/frontend_react/frontend/src/index.tsx b/webserver/frontend_react/src/index.tsx similarity index 100% rename from frontend_react/frontend/src/index.tsx rename to webserver/frontend_react/src/index.tsx diff --git a/frontend_react/frontend/src/react-app-env.d.ts b/webserver/frontend_react/src/react-app-env.d.ts similarity index 100% rename from frontend_react/frontend/src/react-app-env.d.ts rename to webserver/frontend_react/src/react-app-env.d.ts diff --git a/frontend_react/frontend/src/reportWebVitals.ts b/webserver/frontend_react/src/reportWebVitals.ts similarity index 100% rename from frontend_react/frontend/src/reportWebVitals.ts rename to webserver/frontend_react/src/reportWebVitals.ts diff --git a/frontend_react/frontend/src/routes/Initial/Gu.tsx b/webserver/frontend_react/src/routes/Initial/Gu.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Initial/Gu.tsx rename to webserver/frontend_react/src/routes/Initial/Gu.tsx diff --git a/frontend_react/frontend/src/routes/Initial/InfoSetting.tsx b/webserver/frontend_react/src/routes/Initial/InfoSetting.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Initial/InfoSetting.tsx rename to webserver/frontend_react/src/routes/Initial/InfoSetting.tsx diff --git a/frontend_react/frontend/src/routes/Initial/Infra.tsx b/webserver/frontend_react/src/routes/Initial/Infra.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Initial/Infra.tsx rename to webserver/frontend_react/src/routes/Initial/Infra.tsx diff --git a/frontend_react/frontend/src/routes/Initial/InfraSelect.tsx b/webserver/frontend_react/src/routes/Initial/InfraSelect.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Initial/InfraSelect.tsx rename to webserver/frontend_react/src/routes/Initial/InfraSelect.tsx diff --git a/frontend_react/frontend/src/routes/Initial/Login.tsx b/webserver/frontend_react/src/routes/Initial/Login.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Initial/Login.tsx rename to webserver/frontend_react/src/routes/Initial/Login.tsx diff --git a/frontend_react/frontend/src/routes/Initial/Login2.tsx b/webserver/frontend_react/src/routes/Initial/Login2.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Initial/Login2.tsx rename to webserver/frontend_react/src/routes/Initial/Login2.tsx diff --git a/frontend_react/frontend/src/routes/Initial/SignUp.tsx b/webserver/frontend_react/src/routes/Initial/SignUp.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Initial/SignUp.tsx rename to webserver/frontend_react/src/routes/Initial/SignUp.tsx diff --git a/frontend_react/frontend/src/routes/Loading.tsx b/webserver/frontend_react/src/routes/Loading.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Loading.tsx rename to webserver/frontend_react/src/routes/Loading.tsx diff --git a/frontend_react/frontend/src/routes/Main.tsx b/webserver/frontend_react/src/routes/Main.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Main.tsx rename to webserver/frontend_react/src/routes/Main.tsx diff --git a/frontend_react/frontend/src/routes/Map/Map.css b/webserver/frontend_react/src/routes/Map/Map.css similarity index 100% rename from frontend_react/frontend/src/routes/Map/Map.css rename to webserver/frontend_react/src/routes/Map/Map.css diff --git a/frontend_react/frontend/src/routes/Map/Map.tsx b/webserver/frontend_react/src/routes/Map/Map.tsx similarity index 100% rename from frontend_react/frontend/src/routes/Map/Map.tsx rename to webserver/frontend_react/src/routes/Map/Map.tsx diff --git a/frontend_react/frontend/src/routes/NoMatch.tsx b/webserver/frontend_react/src/routes/NoMatch.tsx similarity index 100% rename from frontend_react/frontend/src/routes/NoMatch.tsx rename to webserver/frontend_react/src/routes/NoMatch.tsx diff --git a/frontend_react/frontend/src/routes/RequiredAuth.tsx b/webserver/frontend_react/src/routes/RequiredAuth.tsx similarity index 100% rename from frontend_react/frontend/src/routes/RequiredAuth.tsx rename to webserver/frontend_react/src/routes/RequiredAuth.tsx diff --git a/frontend_react/frontend/src/routes/RequiredGu.tsx b/webserver/frontend_react/src/routes/RequiredGu.tsx similarity index 100% rename from frontend_react/frontend/src/routes/RequiredGu.tsx rename to webserver/frontend_react/src/routes/RequiredGu.tsx diff --git a/frontend_react/frontend/src/routes/RoutesSetup.tsx b/webserver/frontend_react/src/routes/RoutesSetup.tsx similarity index 100% rename from frontend_react/frontend/src/routes/RoutesSetup.tsx rename to webserver/frontend_react/src/routes/RoutesSetup.tsx diff --git a/frontend_react/frontend/src/setupTests.ts b/webserver/frontend_react/src/setupTests.ts similarity index 100% rename from frontend_react/frontend/src/setupTests.ts rename to webserver/frontend_react/src/setupTests.ts diff --git a/frontend_react/frontend/src/store/AppState.ts b/webserver/frontend_react/src/store/AppState.ts similarity index 100% rename from frontend_react/frontend/src/store/AppState.ts rename to webserver/frontend_react/src/store/AppState.ts diff --git a/frontend_react/frontend/src/store/house/actions.ts b/webserver/frontend_react/src/store/house/actions.ts similarity index 100% rename from frontend_react/frontend/src/store/house/actions.ts rename to webserver/frontend_react/src/store/house/actions.ts diff --git a/frontend_react/frontend/src/store/house/index.ts b/webserver/frontend_react/src/store/house/index.ts similarity index 100% rename from frontend_react/frontend/src/store/house/index.ts rename to webserver/frontend_react/src/store/house/index.ts diff --git a/frontend_react/frontend/src/store/house/reducers.ts b/webserver/frontend_react/src/store/house/reducers.ts similarity index 100% rename from frontend_react/frontend/src/store/house/reducers.ts rename to webserver/frontend_react/src/store/house/reducers.ts diff --git a/frontend_react/frontend/src/store/house/types.ts b/webserver/frontend_react/src/store/house/types.ts similarity index 100% rename from frontend_react/frontend/src/store/house/types.ts rename to webserver/frontend_react/src/store/house/types.ts diff --git a/frontend_react/frontend/src/store/index.ts b/webserver/frontend_react/src/store/index.ts similarity index 100% rename from frontend_react/frontend/src/store/index.ts rename to webserver/frontend_react/src/store/index.ts diff --git a/frontend_react/frontend/src/store/loading/actions.ts b/webserver/frontend_react/src/store/loading/actions.ts similarity index 100% rename from frontend_react/frontend/src/store/loading/actions.ts rename to webserver/frontend_react/src/store/loading/actions.ts diff --git a/frontend_react/frontend/src/store/loading/index.ts b/webserver/frontend_react/src/store/loading/index.ts similarity index 100% rename from frontend_react/frontend/src/store/loading/index.ts rename to webserver/frontend_react/src/store/loading/index.ts diff --git a/frontend_react/frontend/src/store/loading/reducers.ts b/webserver/frontend_react/src/store/loading/reducers.ts similarity index 100% rename from frontend_react/frontend/src/store/loading/reducers.ts rename to webserver/frontend_react/src/store/loading/reducers.ts diff --git a/frontend_react/frontend/src/store/loading/types.ts b/webserver/frontend_react/src/store/loading/types.ts similarity index 100% rename from frontend_react/frontend/src/store/loading/types.ts rename to webserver/frontend_react/src/store/loading/types.ts diff --git a/frontend_react/frontend/src/store/marker/actions.ts b/webserver/frontend_react/src/store/marker/actions.ts similarity index 100% rename from frontend_react/frontend/src/store/marker/actions.ts rename to webserver/frontend_react/src/store/marker/actions.ts diff --git a/frontend_react/frontend/src/store/marker/index.ts b/webserver/frontend_react/src/store/marker/index.ts similarity index 100% rename from frontend_react/frontend/src/store/marker/index.ts rename to webserver/frontend_react/src/store/marker/index.ts diff --git a/frontend_react/frontend/src/store/marker/reducers.ts b/webserver/frontend_react/src/store/marker/reducers.ts similarity index 100% rename from frontend_react/frontend/src/store/marker/reducers.ts rename to webserver/frontend_react/src/store/marker/reducers.ts diff --git a/frontend_react/frontend/src/store/marker/types.ts b/webserver/frontend_react/src/store/marker/types.ts similarity index 100% rename from frontend_react/frontend/src/store/marker/types.ts rename to webserver/frontend_react/src/store/marker/types.ts diff --git a/frontend_react/frontend/src/store/rootReducer.ts b/webserver/frontend_react/src/store/rootReducer.ts similarity index 100% rename from frontend_react/frontend/src/store/rootReducer.ts rename to webserver/frontend_react/src/store/rootReducer.ts diff --git a/frontend_react/frontend/src/store/types.ts b/webserver/frontend_react/src/store/types.ts similarity index 100% rename from frontend_react/frontend/src/store/types.ts rename to webserver/frontend_react/src/store/types.ts diff --git a/frontend_react/frontend/src/store/useStore.ts b/webserver/frontend_react/src/store/useStore.ts similarity index 100% rename from frontend_react/frontend/src/store/useStore.ts rename to webserver/frontend_react/src/store/useStore.ts diff --git a/frontend_react/frontend/src/store/user/actions.ts b/webserver/frontend_react/src/store/user/actions.ts similarity index 100% rename from frontend_react/frontend/src/store/user/actions.ts rename to webserver/frontend_react/src/store/user/actions.ts diff --git a/frontend_react/frontend/src/store/user/index.ts b/webserver/frontend_react/src/store/user/index.ts similarity index 100% rename from frontend_react/frontend/src/store/user/index.ts rename to webserver/frontend_react/src/store/user/index.ts diff --git a/frontend_react/frontend/src/store/user/reducers.ts b/webserver/frontend_react/src/store/user/reducers.ts similarity index 100% rename from frontend_react/frontend/src/store/user/reducers.ts rename to webserver/frontend_react/src/store/user/reducers.ts diff --git a/frontend_react/frontend/src/store/user/types.ts b/webserver/frontend_react/src/store/user/types.ts similarity index 100% rename from frontend_react/frontend/src/store/user/types.ts rename to webserver/frontend_react/src/store/user/types.ts diff --git a/frontend_react/frontend/src/utils/index.ts b/webserver/frontend_react/src/utils/index.ts similarity index 100% rename from frontend_react/frontend/src/utils/index.ts rename to webserver/frontend_react/src/utils/index.ts diff --git a/frontend_react/frontend/src/utils/localStorageP.ts b/webserver/frontend_react/src/utils/localStorageP.ts similarity index 100% rename from frontend_react/frontend/src/utils/localStorageP.ts rename to webserver/frontend_react/src/utils/localStorageP.ts diff --git a/frontend_react/frontend/src/utils/readWriteObjectP.ts b/webserver/frontend_react/src/utils/readWriteObjectP.ts similarity index 100% rename from frontend_react/frontend/src/utils/readWriteObjectP.ts rename to webserver/frontend_react/src/utils/readWriteObjectP.ts diff --git a/frontend_react/frontend/src/utils/utils.ts b/webserver/frontend_react/src/utils/utils.ts similarity index 100% rename from frontend_react/frontend/src/utils/utils.ts rename to webserver/frontend_react/src/utils/utils.ts diff --git a/frontend_react/frontend/tailwind.config.js b/webserver/frontend_react/tailwind.config.js similarity index 100% rename from frontend_react/frontend/tailwind.config.js rename to webserver/frontend_react/tailwind.config.js diff --git a/frontend_react/frontend/tsconfig.json b/webserver/frontend_react/tsconfig.json similarity index 100% rename from frontend_react/frontend/tsconfig.json rename to webserver/frontend_react/tsconfig.json diff --git "a/\355\201\254\353\241\244\353\247\201.ipynb" "b/\355\201\254\353\241\244\353\247\201.ipynb" deleted file mode 100644 index d22fdb6..0000000 --- "a/\355\201\254\353\241\244\353\247\201.ipynb" +++ /dev/null @@ -1,1107 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "metadata": {}, - "outputs": [], - "source": [ - "import requests\n", - "import json\n", - "\n", - "req = requests.get(\"https://apis.zigbang.com/v2/items/34645384\")\n", - "\n", - "data= json.loads(req.text )\n", - "item = data['item']\n", - "agent = data['agent']\n", - "\n", - "deposit = item['보증금액']\n", - "rent = item['월세금액']\n", - "#premium = item['권리금액']\n", - "\n", - "city1 = item['local1']\n", - "city2 = item['local2']\n", - "city3 = item['local3']\n", - "\n", - "images = item['images']\n", - "phone = agent['agent_phone']\n", - "\n", - "data_keys = list(data['item'].keys())\n", - "data_values = list(data['item'].values())\n", - "columns_list = list(data['item'].keys())" - ] - }, - { - "cell_type": "code", - "execution_count": 2, - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "C:\\Users\\권은채\\AppData\\Local\\Temp\\ipykernel_15828\\1149537071.py:27: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.\n", - " df = df.append(s, ignore_index=True)\n" - ] - } - ], - "source": [ - "import pandas as pd\n", - "\n", - "df = pd.DataFrame()\n", - "\n", - "for i in range(33500000, 35000000): # 34463000~34464000\n", - " \n", - " #print(i) \n", - " \n", - " try:\n", - " \n", - " url = \"https://apis.zigbang.com/v2/items/\" + str(i)\n", - " # print(url)\n", - " req = requests.get(url)\n", - " data= json.loads(req.text)\n", - " item= data['item']\n", - " \n", - " # print(item['local1'])\n", - "\n", - " if item['local1'] == '서울특별시':\n", - " \n", - " if item['service_type'].find('원룸'):\n", - " \n", - " #print('원룸 발견') \n", - " \n", - " s = pd.Series(item.values())\n", - " \n", - " df = df.append(s, ignore_index=True)\n", - " \n", - " elif item['service_type'].find('오피스텔'):\n", - " \n", - " #print('오피스텔 발견') \n", - " \n", - " s = pd.Series(item.values())\n", - " \n", - " df = df.append(s, ignore_index=True)\t\t\t\t\n", - " \n", - " else:\n", - " \n", - " #print(\"예외처리\")\n", - " \n", - " pass\n", - " \n", - " # 나머지 오류 케이스들은 pass 로 처리 \n", - " except:\n", - " \n", - " pass\n", - " \n", - " \n", - "df.columns = list(data_keys)\n", - "\n", - "df.to_csv('직방크롤링원룸오피스텔.csv', index= False)" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
item_iduser_nosales_typesales_titleservice_typeimagesimage_thumbnail매매금액보증금액월세금액...vr_keyvr_type_nameapprove_datebathroom_countresidence_typemanage_cost_not_incpopular자동종료대상상태확인At자동종료At
03350002777540전세전세오피스텔[https://ic.zigbang.com/ic/items/33500027/1.jp...https://ic.zigbang.com/ic/items/33500027/1.jpgNone13500None...NoneNone2013년 9월13일1오피스텔01;02;03;05;NoneFalse2022-10-02T01:47:16.000ZNone
1335001231309339월세월세오피스텔[https://ic.zigbang.com/ic/items/33500123/1.jp...https://ic.zigbang.com/ic/items/33500123/1.jpgNone100065...NoneNone200504141오피스텔01;02;03;NoneFalse2022-09-26T05:50:44.000ZNone
23350014716519078월세월세오피스텔[https://ic.zigbang.com/ic/items/33500147/1.jp...https://ic.zigbang.com/ic/items/33500147/1.jpgNone2000149...NoneNone201606291오피스텔01;02;03;NoneFalse2022-09-27T00:47:35.000ZNone
33350020617561097전세전세오피스텔[https://ic.zigbang.com/ic/items/33500206/1.jp...https://ic.zigbang.com/ic/items/33500206/1.jpgNone25000None...NoneNone202010051오피스텔01;02;03;NoneFalse2022-09-26T05:53:53.000ZNone
43350026815882702월세월세오피스텔[https://ic.zigbang.com/ic/items/33500268/1.jp...https://ic.zigbang.com/ic/items/33500268/1.jpgNone2000150...NoneNone201606291오피스텔01;02;03;NoneFalse2022-09-27T01:29:22.000ZNone
..................................................................
82435347262444116462월세월세오피스텔[https://ic.zigbang.com/ic/items/34726244/1.jp...https://ic.zigbang.com/ic/items/34726244/1.jpgNone2000210...NoneNone2005-08-231오피스텔01;02;03;04;05;NoneFalse2022-12-28T11:58:34.000ZNone
82436347262676132070월세월세오피스텔[https://ic.zigbang.com/ic/items/34726267/1.jp...https://ic.zigbang.com/ic/items/34726267/1.jpgNone370076...NoneNone2020-10-161오피스텔01;02;03;NoneFalse2022-12-28T12:03:02.000ZNone
82437347263029644013월세월세오피스텔[https://ic.zigbang.com/ic/items/34726302/1.jp...https://ic.zigbang.com/ic/items/34726302/1.jpgNone100065...NoneNone2012-09-071도시형생활주택01;02;NoneFalse2022-12-28T12:15:35.000ZNone
82438347263042855371월세월세오피스텔[https://ic.zigbang.com/ic/items/34726304/1.jp...https://ic.zigbang.com/ic/items/34726304/1.jpgNone350280...NoneNone2016.10.201도시형생활주택01;02;03;04;05;NoneFalse2022-12-28T12:16:15.000ZNone
82439347263597627205월세월세오피스텔[https://ic.zigbang.com/ic/items/34726359/1.jp...https://ic.zigbang.com/ic/items/34726359/1.jpgNone100065...NoneNone2001.4.271오피스텔02;04;05;NoneFalse2022-12-28T12:26:42.000ZNone
\n", - "

82440 rows × 63 columns

\n", - "
" - ], - "text/plain": [ - " item_id user_no sales_type sales_title service_type \\\n", - "0 33500027 77540 전세 전세 오피스텔 \n", - "1 33500123 1309339 월세 월세 오피스텔 \n", - "2 33500147 16519078 월세 월세 오피스텔 \n", - "3 33500206 17561097 전세 전세 오피스텔 \n", - "4 33500268 15882702 월세 월세 오피스텔 \n", - "... ... ... ... ... ... \n", - "82435 34726244 4116462 월세 월세 오피스텔 \n", - "82436 34726267 6132070 월세 월세 오피스텔 \n", - "82437 34726302 9644013 월세 월세 오피스텔 \n", - "82438 34726304 2855371 월세 월세 오피스텔 \n", - "82439 34726359 7627205 월세 월세 오피스텔 \n", - "\n", - " images \\\n", - "0 [https://ic.zigbang.com/ic/items/33500027/1.jp... \n", - "1 [https://ic.zigbang.com/ic/items/33500123/1.jp... \n", - "2 [https://ic.zigbang.com/ic/items/33500147/1.jp... \n", - "3 [https://ic.zigbang.com/ic/items/33500206/1.jp... \n", - "4 [https://ic.zigbang.com/ic/items/33500268/1.jp... \n", - "... ... \n", - "82435 [https://ic.zigbang.com/ic/items/34726244/1.jp... \n", - "82436 [https://ic.zigbang.com/ic/items/34726267/1.jp... \n", - "82437 [https://ic.zigbang.com/ic/items/34726302/1.jp... \n", - "82438 [https://ic.zigbang.com/ic/items/34726304/1.jp... \n", - "82439 [https://ic.zigbang.com/ic/items/34726359/1.jp... \n", - "\n", - " image_thumbnail 매매금액 보증금액 월세금액 ... \\\n", - "0 https://ic.zigbang.com/ic/items/33500027/1.jpg None 13500 None ... \n", - "1 https://ic.zigbang.com/ic/items/33500123/1.jpg None 1000 65 ... \n", - "2 https://ic.zigbang.com/ic/items/33500147/1.jpg None 2000 149 ... \n", - "3 https://ic.zigbang.com/ic/items/33500206/1.jpg None 25000 None ... \n", - "4 https://ic.zigbang.com/ic/items/33500268/1.jpg None 2000 150 ... \n", - "... ... ... ... ... ... \n", - "82435 https://ic.zigbang.com/ic/items/34726244/1.jpg None 2000 210 ... \n", - "82436 https://ic.zigbang.com/ic/items/34726267/1.jpg None 3700 76 ... \n", - "82437 https://ic.zigbang.com/ic/items/34726302/1.jpg None 1000 65 ... \n", - "82438 https://ic.zigbang.com/ic/items/34726304/1.jpg None 350 280 ... \n", - "82439 https://ic.zigbang.com/ic/items/34726359/1.jpg None 1000 65 ... \n", - "\n", - " vr_key vr_type_name approve_date bathroom_count residence_type \\\n", - "0 None None 2013년 9월13일 1 오피스텔 \n", - "1 None None 20050414 1 오피스텔 \n", - "2 None None 20160629 1 오피스텔 \n", - "3 None None 20201005 1 오피스텔 \n", - "4 None None 20160629 1 오피스텔 \n", - "... ... ... ... ... ... \n", - "82435 None None 2005-08-23 1 오피스텔 \n", - "82436 None None 2020-10-16 1 오피스텔 \n", - "82437 None None 2012-09-07 1 도시형생활주택 \n", - "82438 None None 2016.10.20 1 도시형생활주택 \n", - "82439 None None 2001.4.27 1 오피스텔 \n", - "\n", - " manage_cost_not_inc popular 자동종료대상 상태확인At 자동종료At \n", - "0 01;02;03;05; None False 2022-10-02T01:47:16.000Z None \n", - "1 01;02;03; None False 2022-09-26T05:50:44.000Z None \n", - "2 01;02;03; None False 2022-09-27T00:47:35.000Z None \n", - "3 01;02;03; None False 2022-09-26T05:53:53.000Z None \n", - "4 01;02;03; None False 2022-09-27T01:29:22.000Z None \n", - "... ... ... ... ... ... \n", - "82435 01;02;03;04;05; None False 2022-12-28T11:58:34.000Z None \n", - "82436 01;02;03; None False 2022-12-28T12:03:02.000Z None \n", - "82437 01;02; None False 2022-12-28T12:15:35.000Z None \n", - "82438 01;02;03;04;05; None False 2022-12-28T12:16:15.000Z None \n", - "82439 02;04;05; None False 2022-12-28T12:26:42.000Z None \n", - "\n", - "[82440 rows x 63 columns]" - ] - }, - "execution_count": 3, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "metadata": {}, - "outputs": [], - "source": [ - "df.to_csv('직방크롤링시도.csv', index= False)" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "Index(['item_id', 'user_no', 'sales_type', 'sales_title', 'service_type',\n", - " 'images', 'image_thumbnail', '매매금액', '보증금액', '월세금액', '전용면적_m2',\n", - " '공급면적_m2', '대지권면적_m2', 'address', 'jibunAddress', 'local1', 'local2',\n", - " 'local3', 'local4', 'room_type_code', 'room_type', 'title', 'status',\n", - " 'description', 'secret_memo', 'is_zzim', 'random_location', 'parking',\n", - " 'elevator', 'room_direction', 'movein_date', 'agent_comment', 'pnu',\n", - " 'floor', 'floor_string', 'floor_all', 'pets', 'loan', 'building_id',\n", - " 'options', 'manage_cost', 'manage_cost_inc', 'is_realestate', 'is_room',\n", - " 'is_owner', 'is_premium', 'is_homepage', 'user_has_penalty',\n", - " 'building_type', 'room_gubun_code', 'view_count', 'updated_at',\n", - " 'is_first_movein', 'vr_key', 'vr_type_name', 'approve_date',\n", - " 'bathroom_count', 'residence_type', 'manage_cost_not_inc', 'popular',\n", - " '자동종료대상', '상태확인At', '자동종료At'],\n", - " dtype='object')" - ] - }, - "execution_count": 5, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df.columns" - ] - }, - { - "cell_type": "code", - "execution_count": 18, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "RangeIndex: 82440 entries, 0 to 82439\n", - "Data columns (total 60 columns):\n", - " # Column Non-Null Count Dtype \n", - "--- ------ -------------- ----- \n", - " 0 item_id 82440 non-null int64 \n", - " 1 user_no 82440 non-null int64 \n", - " 2 sales_type 82440 non-null object \n", - " 3 sales_title 82440 non-null object \n", - " 4 service_type 82440 non-null object \n", - " 5 images 82440 non-null object \n", - " 6 image_thumbnail 82440 non-null object \n", - " 7 보증금액 82440 non-null int64 \n", - " 8 월세금액 48306 non-null object \n", - " 9 전용면적_m2 82440 non-null float64\n", - " 10 공급면적_m2 82440 non-null float64\n", - " 11 address 82440 non-null object \n", - " 12 jibunAddress 82440 non-null object \n", - " 13 local1 82440 non-null object \n", - " 14 local2 82440 non-null object \n", - " 15 local3 82440 non-null object \n", - " 16 room_type_code 82440 non-null object \n", - " 17 room_type 82440 non-null object \n", - " 18 title 82440 non-null object \n", - " 19 status 82440 non-null object \n", - " 20 description 82440 non-null object \n", - " 21 secret_memo 0 non-null object \n", - " 22 is_zzim 0 non-null object \n", - " 23 random_location 82440 non-null object \n", - " 24 parking 82440 non-null object \n", - " 25 elevator 82440 non-null bool \n", - " 26 room_direction 82440 non-null object \n", - " 27 movein_date 82440 non-null object \n", - " 28 agent_comment 77707 non-null object \n", - " 29 pnu 82440 non-null object \n", - " 30 floor 8780 non-null object \n", - " 31 floor_string 82439 non-null object \n", - " 32 floor_all 82440 non-null object \n", - " 33 pets 0 non-null object \n", - " 34 loan 0 non-null object \n", - " 35 building_id 82440 non-null int64 \n", - " 36 options 80916 non-null object \n", - " 37 manage_cost 82440 non-null float64\n", - " 38 manage_cost_inc 33695 non-null object \n", - " 39 is_realestate 82440 non-null bool \n", - " 40 is_room 82440 non-null bool \n", - " 41 is_owner 0 non-null object \n", - " 42 is_premium 40418 non-null object \n", - " 43 is_homepage 82440 non-null bool \n", - " 44 user_has_penalty 82440 non-null bool \n", - " 45 building_type 0 non-null object \n", - " 46 room_gubun_code 82440 non-null object \n", - " 47 view_count 82440 non-null int64 \n", - " 48 updated_at 82440 non-null object \n", - " 49 is_first_movein 0 non-null object \n", - " 50 vr_key 0 non-null object \n", - " 51 vr_type_name 0 non-null object \n", - " 52 approve_date 82440 non-null object \n", - " 53 bathroom_count 82440 non-null int64 \n", - " 54 residence_type 82440 non-null object \n", - " 55 manage_cost_not_inc 82440 non-null object \n", - " 56 popular 952 non-null object \n", - " 57 자동종료대상 82440 non-null bool \n", - " 58 상태확인At 82440 non-null object \n", - " 59 자동종료At 408 non-null object \n", - "dtypes: bool(6), float64(3), int64(6), object(45)\n", - "memory usage: 34.4+ MB\n" - ] - } - ], - "source": [ - "df1.info()" - ] - }, - { - "cell_type": "code", - "execution_count": 17, - "metadata": {}, - "outputs": [], - "source": [ - "df1 = df.drop(['매매금액','대지권면적_m2','local4'], axis=1)" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
item_iduser_nosales_typesales_titleservice_typeimagesimage_thumbnail매매금액보증금액월세금액...vr_keyvr_type_nameapprove_datebathroom_countresidence_typemanage_cost_not_incpopular자동종료대상상태확인At자동종료At
03350002777540전세전세오피스텔['https://ic.zigbang.com/ic/items/33500027/1.j...https://ic.zigbang.com/ic/items/33500027/1.jpgNaN13500NaN...NaNNaN2013년 9월13일1오피스텔01;02;03;05;NaNFalse2022-10-02T01:47:16.000ZNaN
1335001231309339월세월세오피스텔['https://ic.zigbang.com/ic/items/33500123/1.j...https://ic.zigbang.com/ic/items/33500123/1.jpgNaN100065.0...NaNNaN200504141오피스텔01;02;03;NaNFalse2022-09-26T05:50:44.000ZNaN
23350014716519078월세월세오피스텔['https://ic.zigbang.com/ic/items/33500147/1.j...https://ic.zigbang.com/ic/items/33500147/1.jpgNaN2000149.0...NaNNaN201606291오피스텔01;02;03;NaNFalse2022-09-27T00:47:35.000ZNaN
33350020617561097전세전세오피스텔['https://ic.zigbang.com/ic/items/33500206/1.j...https://ic.zigbang.com/ic/items/33500206/1.jpgNaN25000NaN...NaNNaN202010051오피스텔01;02;03;NaNFalse2022-09-26T05:53:53.000ZNaN
43350026815882702월세월세오피스텔['https://ic.zigbang.com/ic/items/33500268/1.j...https://ic.zigbang.com/ic/items/33500268/1.jpgNaN2000150.0...NaNNaN201606291오피스텔01;02;03;NaNFalse2022-09-27T01:29:22.000ZNaN
..................................................................
82435347262444116462월세월세오피스텔['https://ic.zigbang.com/ic/items/34726244/1.j...https://ic.zigbang.com/ic/items/34726244/1.jpgNaN2000210.0...NaNNaN2005-08-231오피스텔01;02;03;04;05;NaNFalse2022-12-28T11:58:34.000ZNaN
82436347262676132070월세월세오피스텔['https://ic.zigbang.com/ic/items/34726267/1.j...https://ic.zigbang.com/ic/items/34726267/1.jpgNaN370076.0...NaNNaN2020-10-161오피스텔01;02;03;NaNFalse2022-12-28T12:03:02.000ZNaN
82437347263029644013월세월세오피스텔['https://ic.zigbang.com/ic/items/34726302/1.j...https://ic.zigbang.com/ic/items/34726302/1.jpgNaN100065.0...NaNNaN2012-09-071도시형생활주택01;02;NaNFalse2022-12-28T12:15:35.000ZNaN
82438347263042855371월세월세오피스텔['https://ic.zigbang.com/ic/items/34726304/1.j...https://ic.zigbang.com/ic/items/34726304/1.jpgNaN350280.0...NaNNaN2016.10.201도시형생활주택01;02;03;04;05;NaNFalse2022-12-28T12:16:15.000ZNaN
82439347263597627205월세월세오피스텔['https://ic.zigbang.com/ic/items/34726359/1.j...https://ic.zigbang.com/ic/items/34726359/1.jpgNaN100065.0...NaNNaN2001.4.271오피스텔02;04;05;NaNFalse2022-12-28T12:26:42.000ZNaN
\n", - "

82440 rows × 63 columns

\n", - "
" - ], - "text/plain": [ - " item_id user_no sales_type sales_title service_type \\\n", - "0 33500027 77540 전세 전세 오피스텔 \n", - "1 33500123 1309339 월세 월세 오피스텔 \n", - "2 33500147 16519078 월세 월세 오피스텔 \n", - "3 33500206 17561097 전세 전세 오피스텔 \n", - "4 33500268 15882702 월세 월세 오피스텔 \n", - "... ... ... ... ... ... \n", - "82435 34726244 4116462 월세 월세 오피스텔 \n", - "82436 34726267 6132070 월세 월세 오피스텔 \n", - "82437 34726302 9644013 월세 월세 오피스텔 \n", - "82438 34726304 2855371 월세 월세 오피스텔 \n", - "82439 34726359 7627205 월세 월세 오피스텔 \n", - "\n", - " images \\\n", - "0 ['https://ic.zigbang.com/ic/items/33500027/1.j... \n", - "1 ['https://ic.zigbang.com/ic/items/33500123/1.j... \n", - "2 ['https://ic.zigbang.com/ic/items/33500147/1.j... \n", - "3 ['https://ic.zigbang.com/ic/items/33500206/1.j... \n", - "4 ['https://ic.zigbang.com/ic/items/33500268/1.j... \n", - "... ... \n", - "82435 ['https://ic.zigbang.com/ic/items/34726244/1.j... \n", - "82436 ['https://ic.zigbang.com/ic/items/34726267/1.j... \n", - "82437 ['https://ic.zigbang.com/ic/items/34726302/1.j... \n", - "82438 ['https://ic.zigbang.com/ic/items/34726304/1.j... \n", - "82439 ['https://ic.zigbang.com/ic/items/34726359/1.j... \n", - "\n", - " image_thumbnail 매매금액 보증금액 월세금액 \\\n", - "0 https://ic.zigbang.com/ic/items/33500027/1.jpg NaN 13500 NaN \n", - "1 https://ic.zigbang.com/ic/items/33500123/1.jpg NaN 1000 65.0 \n", - "2 https://ic.zigbang.com/ic/items/33500147/1.jpg NaN 2000 149.0 \n", - "3 https://ic.zigbang.com/ic/items/33500206/1.jpg NaN 25000 NaN \n", - "4 https://ic.zigbang.com/ic/items/33500268/1.jpg NaN 2000 150.0 \n", - "... ... ... ... ... \n", - "82435 https://ic.zigbang.com/ic/items/34726244/1.jpg NaN 2000 210.0 \n", - "82436 https://ic.zigbang.com/ic/items/34726267/1.jpg NaN 3700 76.0 \n", - "82437 https://ic.zigbang.com/ic/items/34726302/1.jpg NaN 1000 65.0 \n", - "82438 https://ic.zigbang.com/ic/items/34726304/1.jpg NaN 350 280.0 \n", - "82439 https://ic.zigbang.com/ic/items/34726359/1.jpg NaN 1000 65.0 \n", - "\n", - " ... vr_key vr_type_name approve_date bathroom_count residence_type \\\n", - "0 ... NaN NaN 2013년 9월13일 1 오피스텔 \n", - "1 ... NaN NaN 20050414 1 오피스텔 \n", - "2 ... NaN NaN 20160629 1 오피스텔 \n", - "3 ... NaN NaN 20201005 1 오피스텔 \n", - "4 ... NaN NaN 20160629 1 오피스텔 \n", - "... ... ... ... ... ... ... \n", - "82435 ... NaN NaN 2005-08-23 1 오피스텔 \n", - "82436 ... NaN NaN 2020-10-16 1 오피스텔 \n", - "82437 ... NaN NaN 2012-09-07 1 도시형생활주택 \n", - "82438 ... NaN NaN 2016.10.20 1 도시형생활주택 \n", - "82439 ... NaN NaN 2001.4.27 1 오피스텔 \n", - "\n", - " manage_cost_not_inc popular 자동종료대상 상태확인At 자동종료At \n", - "0 01;02;03;05; NaN False 2022-10-02T01:47:16.000Z NaN \n", - "1 01;02;03; NaN False 2022-09-26T05:50:44.000Z NaN \n", - "2 01;02;03; NaN False 2022-09-27T00:47:35.000Z NaN \n", - "3 01;02;03; NaN False 2022-09-26T05:53:53.000Z NaN \n", - "4 01;02;03; NaN False 2022-09-27T01:29:22.000Z NaN \n", - "... ... ... ... ... ... \n", - "82435 01;02;03;04;05; NaN False 2022-12-28T11:58:34.000Z NaN \n", - "82436 01;02;03; NaN False 2022-12-28T12:03:02.000Z NaN \n", - "82437 01;02; NaN False 2022-12-28T12:15:35.000Z NaN \n", - "82438 01;02;03;04;05; NaN False 2022-12-28T12:16:15.000Z NaN \n", - "82439 02;04;05; NaN False 2022-12-28T12:26:42.000Z NaN \n", - "\n", - "[82440 rows x 63 columns]" - ] - }, - "execution_count": 11, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df" - ] - }, - { - "attachments": {}, - "cell_type": "markdown", - "metadata": {}, - "source": [ - "직방 썸네일 이미지 다운로드" - ] - }, - { - "cell_type": "code", - "execution_count": 35, - "metadata": {}, - "outputs": [], - "source": [ - "#대표 이미지 1개 저장\n", - "import urllib.request\n", - "url = df.image_thumbnail\n", - "idnum = df.item_id\t\n", - "\n", - "for i in range(82440):\n", - " url = df.image_thumbnail[i]\n", - " idnum = df.item_id[i]\t\n", - " urllib.request.urlretrieve(url + \"?w=400&h=300&q=70&a=1\", './image/' + str(idnum) + '.jpg')\n", - "\n", - "#print(\"download successful\")" - ] - }, - { - "cell_type": "code", - "execution_count": 34, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "('./image/33500027.jpg', )" - ] - }, - "execution_count": 34, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "url = df.image_thumbnail[0]\n", - "idnum = df.item_id[0]\t\n", - "urllib.request.urlretrieve(url + \"?w=400&h=300&q=70&a=1\", './image/'+ str(idnum) +'.jpg')" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3.10.8 64-bit (microsoft store)", - "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.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)]" - }, - "orig_nbformat": 4, - "vscode": { - "interpreter": { - "hash": "25ff2d738d3957064ea91cd0e6c93db6032917ef47308ad7e0350e1d8f9ec926" - } - } - }, - "nbformat": 4, - "nbformat_minor": 2 -}