<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>maangie</author_name>
  <author_url>https://blog.hatena.ne.jp/maangie/</author_url>
  <blog_title>ぷろぐらまアンジーのメモノート</blog_title>
  <blog_url>https://maangie.hatenadiary.org/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>ソフトをダウンロードする際、本家サイトとミラーサイトのどっちが速いんだろう、ってな疑問はよくあると思うんですが、どうでしょう。 以前はpingを送って速いほうを選んでたんですが、最近は世知辛い世の中ですから、ECHOプロトコルはブロックされてしまうので、困ってました。まあ、適当にやってたんですが。で、wgetを使ってサイトのフロントページをダウンロードする速度を測定するperlスクリプトを書いてみました*1。 #!/usr/bin/perl -w $null = &quot;nul&quot;; open WGET, &quot;wget -O $null $ARGV[0] 2&gt;&amp;1 |&quot;; while(&lt;WGET&gt;) {…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmaangie.hatenadiary.org%2Fentry%2F20090414&quot; title=&quot;webサイトへの速度を測る - ぷろぐらまアンジーのメモノート&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>2009-04-14 00:00:00</published>
  <title>webサイトへの速度を測る</title>
  <type>rich</type>
  <url>https://maangie.hatenadiary.org/entry/20090414</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
