{"version":"1.0","author_url":"https://blog.hatena.ne.jp/mgi/","blog_url":"https://mgi.hatenablog.com/","description":"\u30a4\u30f3\u30c8\u30ed \u4f55\u304b\u3068\u4fbf\u5229\u306a html parser \u306e\u8aac\u660e\u3002 \u81ea\u5206\u7528\u306e\u5fd8\u5099\u9332\u3082\u517c\u306d\u3066\u9006\u5f15\u304d\u3063\u307d\u304f\u66f8\u3044\u3066\u307f\u308b\u30c6\u30b9\u30c8\u3002 \u4e3b\u306a\u4f7f\u7528\u6cd5 Hpricot.parse(Hpricot() \u3067\u3082\u826f\u3044) \u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u3001parse \u3057\u305f\u3044 html \u3092\u4e0e\u3048\u308b\u3002 search or at \u30e1\u30bd\u30c3\u30c9\u306b\u300c\u691c\u7d22\u3057\u305f\u3044\u6761\u4ef6\u300d\u3092\u5f15\u6570\u306b\u4e0e\u3048\u3066\u3001\u5fc5\u8981\u306a\u60c5\u5831\u3092\u629c\u304d\u51fa\u3059 doc = Hpricot(html) #=> Hpricot.parse(html) \u3068\u540c\u3058 doc.search(...) #=> \u5fc5\u8981\u306a\u60c5\u5831 doc.at(...) #=> \u5fc5\u8981\u306a\u60c5\u5831 search \u3068 at \u306e\u9055\u3044 \u8fd4\u308a\u5024\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 search \u306e\u3068\u2026","provider_name":"Hatena Blog","type":"rich","published":"2013-11-05 22:16:20","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmgi.hatenablog.com%2Fentry%2F2013%2F11%2F05%2F221620\" title=\"\u307e\u308b\u3054\u3068 hpricot - scramble cadenza\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u307e\u308b\u3054\u3068 hpricot","categories":["ruby"],"image_url":null,"provider_url":"https://hatena.blog","width":"100%","author_name":"mgi","url":"https://mgi.hatenablog.com/entry/2013/11/05/221620","blog_title":"scramble cadenza","height":"190"}