{"provider_name":"Hatena Blog","blog_url":"https://potisan-programming-memo.hatenablog.jp/","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","categories":["Python","\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2020%2F01%2F22%2F184820\" title=\"Python 3\u3067URL\u304b\u3089HTML\u3092\u8aad\u307f\u8fbc\u3093\u3067\u8981\u7d20\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","published":"2020-01-22 18:48:20","version":"1.0","description":"Python 3\u3067urllib.request\u3092\u4f7f\u7528\u3057\u3066URL\u304b\u3089HTML\u3092\u8aad\u307f\u8fbc\u307f\u3001Beautiful Soup 4\u3068lxml\u3092\u4f7f\u7528\u3057\u3066\u8981\u7d20\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002\u8aad\u307f\u8fbc\u3080URL\u306fYahoo! JAPAN\u306eURL\u3092\u304a\u501f\u308a\u3057\u3066\u3044\u307e\u3059\u3002 \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 \u53c2\u8003 \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 import urllib.request from bs4 import BeautifulSoup #URL\u304b\u3089\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002 url = \"https://www.yahoo.co.jp/\" with urllib.request.urlopen(url) as response: doc = \u2026","title":"Python 3\u3067URL\u304b\u3089HTML\u3092\u8aad\u307f\u8fbc\u3093\u3067\u8981\u7d20\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b","url":"https://potisan-programming-memo.hatenablog.jp/entry/2020/01/22/184820","width":"100%","type":"rich","author_name":"potisan","author_url":"https://blog.hatena.ne.jp/potisan/","image_url":null,"provider_url":"https://hatena.blog"}