<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>themorthem</author_name>
  <author_url>https://blog.hatena.ne.jp/themorthem/</author_url>
  <blog_title>やつらかやつらだ</blog_title>
  <blog_url>https://themorthem.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>ファイルじゃなくて文字列でcsvが欲しかった - やつらかやつらだの逆をしたかった。 どうってこと無く普通にStringIOだった。便利。csvモジュールはunicode文字列に対応していないんですって。 なのでunicode文字列をutf-8として文字列に変換してから渡してる。 # -*- coding: utf-8 -*- import csv import StringIO source_csv = u'''string,item1,foo string string,item2,&quot;bar &quot;&quot;quoted&quot;&quot; string&quot; string,item3,文字列 ''' s = Strin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthemorthem.hatenadiary.org%2Fentry%2F20130227%2F1361928861&quot; title=&quot;ファイルじゃなくて文字列で渡されたcsvをパースしたかった - やつらかやつらだ&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>2013-02-27 10:34:21</published>
  <title>ファイルじゃなくて文字列で渡されたcsvをパースしたかった</title>
  <type>rich</type>
  <url>https://themorthem.hatenadiary.org/entry/20130227/1361928861</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
