diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..4500551 Binary files /dev/null and b/.DS_Store differ diff --git a/app.py b/app.py deleted file mode 100644 index 3b9fe7a..0000000 --- a/app.py +++ /dev/null @@ -1,17 +0,0 @@ -import requests -from bs4 import BeautifulSoup - -headers = {'User-Agent' : 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36'} -data = requests.get('https://travel.naver.com/overseas?seasonTab=theme&type=SC&theme=%EC%8B%A0%ED%98%BC&page=1',headers=headers) - -soup = BeautifulSoup(data.text, 'html.parser') - -names = soup.select('#OverseasHome > div.season_Seasonals__3IGq4 > ul > li') - -for name in names: - a = name.select_one('div > div.item_keywords__ZF5rC > a') - -print(a) -#OverseasHome > div.season_Seasonals__3IGq4 > ul > li:nth-child(1) > div > a.item_anchor___k2hT > div.head > span - -#OverseasHome > div.season_Seasonals__3IGq4 > ul > li:nth-child(1) > div > div.item_keywords__ZF5rC > a:nth-child(1) \ No newline at end of file diff --git a/public/index-style.css b/public/index-style.css deleted file mode 100644 index e7ddbb1..0000000 --- a/public/index-style.css +++ /dev/null @@ -1,41 +0,0 @@ - -* { - font-family: 'Noto Serif KR', serif; -} - -.mypic { - width: 100%; - height: 500px; - - background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://search.pstatic.net/common/?src=http%3A%2F%2Fblogfiles.naver.net%2FMjAyMjEwMTBfMjY1%2FMDAxNjY1MzcxMzgyNTg2.KLAe4Vm5xndozo1MOkH13U4LW-yjK9Lo8cpkEsa-r7Ag.On8c83cVpaf2qQQ9Eeqk-Fd1VKceNUZ64Way5LhPyHkg.JPEG.shinae90%2F20220920%25A3%25DF135146.jpg&type=sc960_832'); - background-position: center 50%; - background-size: cover; - - color: white; - - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; -} - -.card { - max-width: 750px; - width: 95%; - height: auto; - - border-radius: 10px; - - margin: 20px auto 0px auto; - float: center; - margin-bottom: 10px auto; - - box-shadow: 0px 0px 3px 0px black; -} - -.column { - float: left; - width: 33.33%; - padding: 10px; - margin: 20px auto 20px auto; -} diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 725ac9c..0000000 --- a/templates/index.html +++ /dev/null @@ -1,165 +0,0 @@ - - -
- - - - - - - - - - - - - - -