{"author_name":"piro_suke","height":"190","blog_url":"https://blog.honjala.net/","version":"1.0","url":"https://blog.honjala.net/entry/blog/2009/11/04/200911041257318822/","published":"2009-11-04 16:13:42","image_url":null,"description":"\u5404\u30b5\u30fc\u30d3\u30b9\u306eAPI\u3067\u3082\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u3060\u3051\u3069\u3001\u4e00\u5fdc\u3053\u3093\u306a\u65b9\u6cd5\u3067\u3082\u3067\u304d\u305f\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3002 import urllib2 def get_real_url(url): r = None try: r = urllib2.urlopen(url) except: pass if r: url = r.geturl() return url long_url = get_real_url(\"\u77ed\u7e2eURL\") print long_url # \u5143\u306eURL","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"blog_title":"\u307b\u3093\u3058\u3083\u30fc\u306d\u3063\u3068","type":"rich","title":"tinyurl\u3084bitly\u306eURL\u304b\u3089\u5143\u306eURL\u3092\u53d6\u5f97\u3059\u308b","width":"100%","author_url":"https://blog.hatena.ne.jp/piro_suke/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.honjala.net%2Fentry%2Fblog%2F2009%2F11%2F04%2F200911041257318822%2F\" title=\"tinyurl\u3084bitly\u306eURL\u304b\u3089\u5143\u306eURL\u3092\u53d6\u5f97\u3059\u308b - \u307b\u3093\u3058\u3083\u30fc\u306d\u3063\u3068\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","provider_name":"Hatena Blog"}