<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>piro_suke</author_name>
  <author_url>https://blog.hatena.ne.jp/piro_suke/</author_url>
  <blog_title>ほんじゃーねっと</blog_title>
  <blog_url>https://blog.honjala.net/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>こちらを参考にしました http://www.freia.jp/taka/blog/356 import re f = open(&quot;error_log&quot;) pattern = re.compile(r&quot;\[client (?P&lt;ip&gt;[0-9\.]+)\]&quot;) ips = {} for line in f: m = pattern.search(line) if m: ip = m.group(&quot;ip&quot;) ips[ip] = ips.get(ip, 0) + 1 d = [(v,k) for k,v in ips.items()] d.sort() d.reverse() total = 0 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.honjala.net%2Fentry%2Fblog%2F2010%2F10%2F28%2F201010281288234295%2F&quot; title=&quot;Apacheのログからアクセス数上位２０件のIPアドレスを表示する - ほんじゃーねっと&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-10-28 11:51:35</published>
  <title>Apacheのログからアクセス数上位２０件のIPアドレスを表示する</title>
  <type>rich</type>
  <url>https://blog.honjala.net/entry/blog/2010/10/28/201010281288234295/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
