{"type":"rich","provider_url":"https://hatena.blog","description":"\u5148\u65e5\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 \u7d50\u8ad6 Python\u306e\u5f15\u6570\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306f\u4e00\u5ea6\u3057\u304b\u8a55\u4fa1\u3055\u308c\u306a\u3044\u3002 def func(url, l=[]): \u2026 \u3068\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u4ee3\u308f\u308a\u306b def func(url, l=None): if l is None: l = [] \u2026 \u3068\u3059\u308b\u3002 \u80cc\u666f GitHub API\u3092\u53e9\u3044\u3066\u5168\u3066\u306ebranch_list\u3092\u53d6\u5f97\u3057\u3088\u3046\u3068\u3001 \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u95a2\u6570\u3092\u66f8\u3044\u305f\u3002 def fetch_all(url, all_list=[]): res = urllib.request.urlopen(url) res_link, res_body = res.getheader('Link'), res\u2026","blog_title":"\u4eba\u751f\u30b7\u30fc\u30b1\u30f3\u30b9\u30d6\u30ec\u30a4\u30af","author_name":"ShineSpark","blog_url":"https://shinespark.hatenablog.com/","categories":["Python"],"author_url":"https://blog.hatena.ne.jp/ShineSpark/","provider_name":"Hatena Blog","height":"190","image_url":"http://ecx.images-amazon.com/images/I/51fpQ3aaI8L.jpg","version":"1.0","title":"Python\u306e\u5f15\u6570\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306f\u4e00\u5ea6\u3057\u304b\u8a55\u4fa1\u3055\u308c\u306a\u3044","url":"https://shinespark.hatenablog.com/entry/2015/11/03/124239","published":"2015-11-03 12:42:39","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinespark.hatenablog.com%2Fentry%2F2015%2F11%2F03%2F124239\" title=\"Python\u306e\u5f15\u6570\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306f\u4e00\u5ea6\u3057\u304b\u8a55\u4fa1\u3055\u308c\u306a\u3044 - \u4eba\u751f\u30b7\u30fc\u30b1\u30f3\u30b9\u30d6\u30ec\u30a4\u30af\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}