2021-07-11から1日間の記事一覧
Pythonのfind_allメソッドでYahoo!のトピックス一覧を取得してみました。 import requests from bs4 import BeautifulSoup, element LOAD_URL = "https://news.yahoo.co.jp/topics" html = requests.get(LOAD_URL) soup = BeautifulSoup(html.content, "html…
Pythonのfind_allメソッドでYahoo!のトピックス一覧を取得してみました。 import requests from bs4 import BeautifulSoup, element LOAD_URL = "https://news.yahoo.co.jp/topics" html = requests.get(LOAD_URL) soup = BeautifulSoup(html.content, "html…