wwwwwweeeeeeee
wwwwwweeeeeeee
import requests from bs4 import BeautifulSoup url = "https://www.hk.edu.tw/" html = requests.get(url) html.encoding = 'UTF-8' sp = BeautifulSoup(html.text, 'lxml') print(sp.title) print(sp.title.text) print(sp.h1) print(sp.p)