<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yokoyantech</author_name>
  <author_url>https://blog.hatena.ne.jp/yokoyantech/</author_url>
  <blog_title>紙一重の積み重ね</blog_title>
  <blog_url>https://www.yokoyan.net/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>やりたいこと Pythonを使って、JSONデータをPostgreSQLにINSERTしたい 実行環境 PostgreSQL9.6.6 Python3.6 psycopg2.7.4 発生したエラー psycopg2.ProgrammingError: can't adapt type 'dict' 解決法 JSONデータが格納されている変数に対して、json.dumps()を使ってエンコードする。 import json thedictionary = {'price money': '$1', 'name': 'Google', 'color': '', 'imgurl': 'http://…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yokoyan.net%2Fentry%2F2018%2F05%2F11%2F130000&quot; title=&quot;psycopg2.ProgrammingError: can&amp;#39;t adapt type &amp;#39;dict&amp;#39;が発生したときの対処法 #Python3 #PostgreSQL9.6 - 紙一重の積み重ね&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>2018-05-11 13:00:00</published>
  <title>psycopg2.ProgrammingError: can't adapt type 'dict'が発生したときの対処法 #Python3 #PostgreSQL9.6</title>
  <type>rich</type>
  <url>https://www.yokoyan.net/entry/2018/05/11/130000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
