<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gothedistance</author_name>
  <author_url>https://blog.hatena.ne.jp/gothedistance/</author_url>
  <blog_title>Life is Really Short, Have Your Life!!</blog_title>
  <blog_url>https://aroundthedistance.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Flask</anon>
  </categories>
  <description>ちょっとハマった。結論から言うとこれで動いた。 @app.route(&quot;aaa&quot;) def user_summary(): form = UserForm(request.args) request.argsを引数に入れると、フィールドの変数と同じ名前のパラメータのデータを紐付けてくれる。 この引数が入っていないと、フィールドのdata変数が全部 Noneになってしまう！ class UserForm(FlaskForm): keyword = StringField(&quot;キーワード&quot;) HTMLはこんな感じ。 &lt;form action=&quot; method=&quot;get&quot;&gt; &lt;div class=&quot;r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faroundthedistance.hatenadiary.jp%2Fentry%2F2022%2F12%2F06%2F153709&quot; title=&quot;WTFormsで GETで飛んできたパラメータを捕捉する - Life is Really Short, Have Your Life!!&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>2022-12-06 15:37:09</published>
  <title>WTFormsで GETで飛んできたパラメータを捕捉する</title>
  <type>rich</type>
  <url>https://aroundthedistance.hatenadiary.jp/entry/2022/12/06/153709</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
