{"author_name":"shikaku","url":"https://blog.systemjp.net/entry/2023/07/05/093344","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/shikaku/","version":"1.0","title":"python \u6700\u521d\u306b\u898b\u3064\u304b\u3063\u305fxls\u3078\u306e\u30ea\u30f3\u30af\u3092\u898b\u3064\u3051\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","categories":[],"height":"190","blog_url":"https://blog.systemjp.net/","provider_url":"https://hatena.blog","published":"2023-07-05 09:33:44","image_url":null,"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2023%2F07%2F05%2F093344\" title=\"python \u6700\u521d\u306b\u898b\u3064\u304b\u3063\u305fxls\u3078\u306e\u30ea\u30f3\u30af\u3092\u898b\u3064\u3051\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","description":"import requests from bs4 import BeautifulSoup # URL url = \"https://www.jpx.co.jp/listing/others/ex-rights/index.html\" # URL\u304b\u3089HTML\u3092\u53d6\u5f97 response = requests.get(url) html = response.text # BeautifulSoup\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210 soup = BeautifulSoup(html, 'html.parser') # \u6700\u521d\u306exls\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30f3\u30af\u3092\u898b\u3064\u3051\u308b link = soup.find('a', href=l\u2026","blog_title":"shikaku's blog"}