{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekoyukimmm.hatenablog.com%2Fentry%2F2016%2F07%2F13%2F132911\" title=\"&lt;Beautiful Soup&gt; div + class + id \u3067\u306e\u691c\u7d22 - \u306d\u3053\u3086\u304d\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"url":"https://nekoyukimmm.hatenablog.com/entry/2016/07/13/132911","width":"100%","published":"2016-07-13 13:29:11","blog_url":"https://nekoyukimmm.hatenablog.com/","categories":["Python","Beautiful Soup"],"author_name":"nekoyukimmm","blog_title":"\u306d\u3053\u3086\u304d\u306e\u30e1\u30e2","type":"rich","height":"190","description":"div\u30bf\u30b0\u3068id\u5c5e\u6027\u3068class\u5c5e\u6027\u3092\u4f7f\u3063\u305f\u691c\u7d22\u3002 findAll()\u306e\u5f15\u6570argv\u306eattrs\u306b\u30c7\u30a3\u30af\u30b7\u30e7\u30ca\u30eadict\u3092\u6e21\u3059\u3002 In [47]: import requests In [48]: from bs4 import BeautifulSoup In [49]: url = 'http://nekoyukimmm.hatenablog.com/entry/2016/06/18/230837' In [57]: soup = BeautifulSoup(r.content, 'lxml') In [58]: soup.findAll(name='div', attrs={'class\u2026","provider_url":"https://hatena.blog","title":"<Beautiful Soup> div + class + id \u3067\u306e\u691c\u7d22","version":"1.0","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/nekoyukimmm/"}