
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
터미널에 제목이 안 뜨는데 왜 그럴까요,,,,??

작성한 코드 및 에러 메세지
import requests
from bs4 import BeautifulSoup
url='https://korean.visitseoul.net/exhibition'
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(url, headers=headers)
soup = BeautifulSoup(data.text, 'html.parser')
title= soup.select_one('#container > div.wide-inner > section > h3')
print(title)
터미널
bje04@DESKTOP-OCMFU8B MINGW64 ~/Desktop/pirate/web/lv2
$ pip install bs4
Collecting bs4
Using cached bs4-0.0.1.tar.gz (1.1 kB)
Collecting beautifulsoup4
Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting soupsieve>1.2
Using cached soupsieve-2.4.1-py3-none-any.whl (36 kB)
Using legacy 'setup.py install' for bs4, since package 'wheel' is not installed.
Installing collected packages: soupsieve, beautifulsoup4, bs4
Running setup.py install for bs4 ... done
Successfully installed beautifulsoup4-4.12.2 bs4-0.0.1 soupsieve-2.4.1
WARNING: You are using pip version 20.2.1; however, version 23.1.2 is available.
You should consider upgrading via the 'c:\users\bje04\desktop\pirate\web\lv2\venv\scripts\python.exe -m pip install --upgrade pip' command.
(venv)
bje04@DESKTOP-OCMFU8B MINGW64 ~/Desktop/pirate/web/lv2
$ python tests.py
None
(venv)
bje04@DESKTOP-OCMFU8B MINGW64 ~/Desktop/pirate/web/lv2
$
