{"height":"190","image_url":null,"width":"100%","categories":["Python","Python3\u691c\u8a3c\u6e08\u307f"],"blog_url":"https://www.whyit.work/","published":"2018-04-07 22:53:16","author_url":"https://blog.hatena.ne.jp/zakiyamatakashi/","type":"rich","url":"https://www.whyit.work/entry/2018/04/07/225316","provider_name":"Hatena Blog","version":"1.0","description":"\u30d6\u30e9\u30a6\u30b6\u3067\u8868\u793a\u3055\u305b\u305f\u753b\u50cf\u3092\u3001\u53f3\u30af\u30ea\u30c3\u30af\u3067\u4fdd\u5b58\u3059\u308b\u3068\u3044\u3046\u7169\u308f\u3057\u3044\u4f5c\u696d\u304c\u3042\u308b\u305f\u3081\u3001HTTP\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4e00\u3064\u3067\u3042\u308brequests\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u7c21\u5358\u306b\u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002 requests\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb pip\u3082\u3057\u304f\u306fpip3\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002 $ pip install requests \u753b\u50cf\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 \u30d7\u30ed\u30b0\u30e9\u30e0\u4e0a\u3067\u306f\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u304c200\u610f\u5916\u306e\u5834\u5408\u306b\u306f\u4f8b\u5916\u3092\u767a\u751f\u3055\u305b\u308b\u306a\u3069\u3057\u3066\u4e0b\u3055\u3044\u3002 >>>import requests >>>url = \"https://cdn-ak.f.st-hatena.com/images/fotolife/z/zaki\u2026","author_name":"zakiyamatakashi","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.whyit.work%2Fentry%2F2018%2F04%2F07%2F225316\" title=\"Python \u753b\u50cf\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 - Why it doesn&#39;t work?\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Python \u753b\u50cf\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","blog_title":"Why it doesn't work?","provider_url":"https://hatena.blog"}