スクレイピング
import requests from bs4 import BeautifulSoup url = "https://weather.yahoo.co.jp/weather/" html = requests.get(url) soup = BeautifulSoup(html.content, "html.parser") print(soup.find('title').text)
import requests from bs4 import BeautifulSoup url = "https://weather.yahoo.co.jp/weather/" html = requests.get(url) soup = BeautifulSoup(html.content, "html.parser") print(soup.find('title').text)