{"width":"100%","url":"https://y0m0r.hateblo.jp/entry/20131019/1382159996","description":"python # coding=utf-8 from urlparse import urlparse, parse_qs s = \"http://www.cwi.nl:80/%7Eguido/Python.html?a=b#f\" u = urlparse(s) print u # \u30b9\u30ad\u30fc\u30e0 print u.scheme # -> http # \u30db\u30b9\u30c8 print u.netloc # -> www.cwi.nl:80 # \u30dd\u30fc\u30c8\u756a\u53f7\u3068hostname\u3092\u5206\u3051\u308b h = u.netloc.split(':') print h[0] # -> www.cwi.nl print h[1] # -> \u2026","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20131019%2F1382159996\" title=\"Go\u8a00\u8a9e\u3068python\u3067url\u3092\u30d1\u30fc\u30b9\u3059\u308b - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","published":"2013-10-19 14:19:56","provider_name":"Hatena Blog","title":"Go\u8a00\u8a9e\u3068python\u3067url\u3092\u30d1\u30fc\u30b9\u3059\u308b","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","image_url":null,"categories":["golang","python"],"type":"rich","version":"1.0","author_name":"yuheiomori0718","blog_url":"https://y0m0r.hateblo.jp/","provider_url":"https://hatena.blog"}