{"author_name":"dharry","version":"1.0","provider_name":"Hatena Blog","url":"https://dharry.hatenablog.com/entry/20081208/1228748215","image_url":null,"published":"2008-12-08 23:56:55","width":"100%","title":" \u6307\u5b9a\u3057\u305f URL \u306b\u3042\u308b\u753b\u50cf\u3092\u53d6\u5f97","blog_title":"harry\u2019s memorandum","blog_url":"https://dharry.hatenablog.com/","categories":["ruby"],"author_url":"https://blog.hatena.ne.jp/dharry/","type":"rich","description":"dropbox\u306b\u4f55\u3082\u5165\u308c\u3066\u304a\u3089\u305a\u5bc2\u3057\u304f\u306a\u3063\u305f\u306e\u3067\u3001WallPaper\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u7f6e\u3044\u3066\u307f\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u3002 \u3068\u308a\u3042\u3048\u305a\u3001\u66f8\u3044\u3066\u307f\u305f\u3002ruby foo.rb \u3067OK. \u30b3\u30fc\u30c9 require 'rubygems' require 'hpricot' require 'open-uri' url = ARGV[0] class PhotoGet def initialize(url) @url = url @doc = Hpricot(open(@url).read) @a = [] end def get(ext) reg = /#{ext}$/ @a = (@doc/:a).map {|e\u2026","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdharry.hatenablog.com%2Fentry%2F20081208%2F1228748215\" title=\" \u6307\u5b9a\u3057\u305f URL \u306b\u3042\u308b\u753b\u50cf\u3092\u53d6\u5f97 - harry\u2019s memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}