{"type":"rich","height":"190","published":"2026-01-14 09:00:00","url":"https://okpy.net/entry/2026/01/14/090000","width":"100%","categories":["lib","python"],"provider_name":"Hatena Blog","version":"1.0","blog_title":"okpy","author_name":"starful","blog_url":"https://okpy.net/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/starful/20260104/20260104173439.png","author_url":"https://blog.hatena.ne.jp/starful/","description":"Python lxml: Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3001\u3082\u3063\u3068\u697d\u306b\u3067\u304d\u307e\u3059\u3088\uff1f \ud83d\ude80 Python\u3067Web\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u305f\u3044\u3068\u601d\u3063\u305f\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u304b\uff1f \u305d\u3093\u306a\u6642\u3001\u5f37\u529b\u306a\u5473\u65b9\u306b\u306a\u3063\u3066\u304f\u308c\u308b\u306e\u304c\u300clxml\u300d\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Python\u521d\u5fc3\u8005\u306e\u65b9\u3067\u3082lxml\u3092\u7406\u89e3\u3057\u3001\u3059\u3050\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3088\u3046\u306b\u3001\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002 \ud83d\udcdd TL;DR (3\u884c\u8981\u7d04) lxml\u306f\u3001HTML\u3084XML\u3092\u9ad8\u901f\u304b\u3064\u67d4\u8edf\u306b\u89e3\u6790\u3059\u308b\u305f\u3081\u306ePython\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3084\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u306a\u3069\u3001\u69cb\u9020\u5316\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u52b9\u7387\u7684\u306b\u6271\u3044\u305f\u3044\u5834\u5408\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002XPath\u3084CSS\u30bb\u30ec\u30af\u30bf\u3092\u4f7f\u3063\u2026","title":"Python lxml: Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3001\u3082\u3063\u3068\u697d\u306b\u3067\u304d\u307e\u3059\u3088\uff1f \ud83d\ude80","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokpy.net%2Fentry%2F2026%2F01%2F14%2F090000\" title=\"Python lxml: Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3001\u3082\u3063\u3068\u697d\u306b\u3067\u304d\u307e\u3059\u3088\uff1f \ud83d\ude80 - okpy\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}