{"id":1408,"date":"2023-03-28T14:03:33","date_gmt":"2023-03-28T05:03:33","guid":{"rendered":"https:\/\/fukugyouhistory.tokyo\/?p=1408"},"modified":"2023-03-30T11:01:45","modified_gmt":"2023-03-30T02:01:45","slug":"python%e3%80%80web%e3%82%b9%e3%82%af%e3%83%ac%e3%82%a4%e3%83%94%e3%83%b3%e3%82%b0%e3%80%80%e5%ae%9f%e8%b7%b5%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e2%91%a1","status":"publish","type":"post","link":"https:\/\/fukugyouhistory.tokyo\/?p=1408","title":{"rendered":"Python\u3000Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3000\u5b9f\u8df5\u3057\u3066\u307f\u305f\u2461"},"content":{"rendered":"\n<p><a href=\"https:\/\/fukugyouhistory.tokyo\/?p=1087\" target=\"_blank\" rel=\"noreferrer noopener\">\u524d\u56de\u306e\u8a18\u4e8b\uff08Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3000\u5b9f\u8df5\u2460\uff09<\/a>\u306e\u7d9a\u304d\u3092\u8a18\u8f09\u3057\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u524d\u56de\u306f\u3001HTML\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u5fc5\u8981\u306a\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3057\u305f\u3002<br>\u4eca\u56de\u306f\u3001\u7d50\u679c\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3001\u3082\u3046\u5c11\u3057\u5b9f\u8df5\u7684\u306a\u5185\u5bb9\u306b\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Yahoo\u30cb\u30e5\u30fc\u30b9\u306e\u30c8\u30c3\u30d7\u8a18\u4e8b\u306e\u53d6\u5f97<\/h2>\n\n\n\n<p>\u6587\u5b57\u5217\u306e\u30d1\u30bf\u30fc\u30f3\u3067\u691c\u7d22\u3067\u304d\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u300cre\u300d\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7528\u3044\u3066\u3001\u6b63\u898f\u8868\u73fe\u3067\u691c\u7d22\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u524d\u56de\u306e\u3084\u308a\u65b9\u3092\u8e0f\u8972\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\nfrom bs4 import BeautifulSoup\nimport re\n\n# \u30a2\u30af\u30bb\u30b9\u3059\u308bURL\nurl = \"https:\/\/www.yahoo.co.jp\/\"\n\n# URL\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b res\u306b\u5e30\u3063\u3066\u304f\u308b\nres = requests.get(url)\n\n# res.text\u3092BeautifulSoup\u3067\u6271\u3046\u305f\u3081\u306e\u51e6\u7406\nsoup = BeautifulSoup(res.content, \"html.parser\")\n\n# href\u5c5e\u6027\u306b\u7279\u5b9a\u306e\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3082\u306e\u3092\u691c\u7d22\u3057\u3001href\u5c5e\u6027\u3092\u53d6\u5f97\u3059\u308b\nhref_text = &#91;href.text for href in soup.find_all(href=re.compile(\"news.yahoo.co.jp\/pickup\"))]\nhref_url = &#91;href.get('href') for href in soup.find_all(href=re.compile(\"news.yahoo.co.jp\/pickup\"))]\n\nfor text in href_text:\n    print(text)\n    \nfor url in href_url:\n    print(url)<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-dominant-color=\"ebeef2\" data-has-transparency=\"true\" style=\"--dominant-color: #ebeef2;\" decoding=\"async\" sizes=\"(max-width: 427px) 100vw, 427px\" src=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-325.png\" alt=\"\" class=\"wp-image-1410 has-transparency\" width=\"333\" height=\"214\" srcset=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-325.png 427w, https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-325-300x193.png 300w\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u3082\u3046\u3061\u3087\u3063\u3068\u30b9\u30de\u30fc\u30c8\u306b\u8a18\u8ff0\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\nfrom bs4 import BeautifulSoup\nimport re\n\n# \u30a2\u30af\u30bb\u30b9\u3059\u308bURL\nurl = \"https:\/\/www.yahoo.co.jp\/\"\n\n# URL\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b res\u306b\u5e30\u3063\u3066\u304f\u308b\nres = requests.get(url)\n\n# res.text\u3092BeautifulSoup\u3067\u6271\u3046\u305f\u3081\u306e\u51e6\u7406\nsoup = BeautifulSoup(res.content, \"html.parser\")\n\n# href\u5c5e\u6027\u306b\u7279\u5b9a\u306e\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3082\u306e\u3092\u691c\u7d22\nelems = soup.find_all(href=re.compile(\"news.yahoo.co.jp\/pickup\"))\n\nfor elem in elems:\n    print(elem.text)\n    print(elem.attrs&#91;'href'])<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-dominant-color=\"eceef2\" data-has-transparency=\"true\" style=\"--dominant-color: #eceef2;\" decoding=\"async\" sizes=\"(max-width: 434px) 100vw, 434px\" src=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-326.png\" alt=\"\" class=\"wp-image-1411 has-transparency\" width=\"361\" height=\"231\" srcset=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-326.png 434w, https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-326-300x192.png 300w\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092CSV\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3059<\/h2>\n\n\n\n<p>CSV\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u7528\u3044\u305f\u51fa\u529b\u65b9\u6cd5\u306f\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\nfrom bs4 import BeautifulSoup\nimport numpy as np\nimport csv\nimport re\n\n# \u30a2\u30af\u30bb\u30b9\u3059\u308bURL\nurl = \"https:\/\/www.yahoo.co.jp\/\"\n\n# URL\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b res\u306b\u5e30\u3063\u3066\u304f\u308b\nres = requests.get(url)\n\n# res.text\u3092BeautifulSoup\u3067\u6271\u3046\u305f\u3081\u306e\u51e6\u7406\nsoup = BeautifulSoup(res.content, \"html.parser\")\n\n# href\u5c5e\u6027\u306b\u7279\u5b9a\u306e\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3082\u306e\u3092\u691c\u7d22\nelems = soup.find_all(href=re.compile(\"news.yahoo.co.jp\/pickup\"))\n\n# \u30ea\u30b9\u30c8\u5f62\u5f0f\u3067CSV\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3059\u65b9\u6cd5\n\n# \u53d6\u5f97\u3057\u305f\u60c5\u5831\u306e\u6570+\u30bf\u30a4\u30c8\u30eb\u884c\nnum = len(elems) + 1\n\n# \u30ea\u30b9\u30c8\u306e\u5185\u5305\u8868\u8a18\u3067\u521d\u671f\u5316\u3059\u308b\u5834\u5408\n#news = &#91;&#91;\"\" for i in range(2)] for j in range(num)]\n\n# numpy\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u521d\u671f\u5316\u3059\u308b\u5834\u5408\nnews = np.zeros((num,2), dtype='object')\n\n# \u30bf\u30a4\u30c8\u30eb\u884c\u306e\u8ffd\u52a0\nnews&#91;0]&#91;0] = 'title'\nnews&#91;0]&#91;1] = 'url'\n\n# \u30bf\u30a4\u30c8\u30eb\u884c\u306e\u6b21\u304b\u3089\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\ni = 1\nfor elem in elems:\n    news&#91;i]&#91;0] = elem.text\n    news&#91;i]&#91;1] = elem.attrs&#91;'href']\n    i = i + 1\n\nwith open(\"data_list.csv\", \"w\", encoding=\"utf-8\") as f:\n    writer = csv.writer(f)\n    writer.writerows(news)<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Pandus\u306eto_csv\u30e1\u30bd\u30c3\u30c9\u3067\u51fa\u529b\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\nfrom bs4 import BeautifulSoup\nimport numpy as np\nimport pandus as pd\nimport re\n\n# \u30a2\u30af\u30bb\u30b9\u3059\u308bURL\nurl = \"https:\/\/www.yahoo.co.jp\/\"\n\n# URL\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b res\u306b\u5e30\u3063\u3066\u304f\u308b\nres = requests.get(url)\n\n# res.text\u3092BeautifulSoup\u3067\u6271\u3046\u305f\u3081\u306e\u51e6\u7406\nsoup = BeautifulSoup(res.content, \"html.parser\")\n\n# href\u5c5e\u6027\u306b\u7279\u5b9a\u306e\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3082\u306e\u3092\u691c\u7d22\nelems = soup.find_all(href=re.compile(\"news.yahoo.co.jp\/pickup\"))\n\n# pandus\u3067CSV\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3059\u65b9\u6cd5\n\n# \u53d6\u5f97\u3057\u305f\u60c5\u5831\u306e\u6570\nnum = len(elems)\n\n# \u30ea\u30b9\u30c8\u306e\u5185\u5305\u8868\u8a18\u3067\u521d\u671f\u5316\u3059\u308b\u5834\u5408\n#news = &#91;&#91;\"\" for i in range(2)] for j in range(num)]\n\n# numpy\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u521d\u671f\u5316\u3059\u308b\u5834\u5408\nnews = np.zeros((num,2), dtype='object')\n\n# \u4fdd\u5b58\u3059\u308b\u3068\u304d\u306b\u30bf\u30a4\u30c8\u30eb\u884c\u306f\u8981\u308c\u308b\u306e\u3067\u3001\u30c7\u30fc\u30bf\u306e\u307f\u683c\u7d0d\ni = 0\nfor elem in elems:\n    news&#91;i]&#91;0] = elem.text\n    news&#91;i]&#91;1] = elem.attrs&#91;'href']\n    i = i + 1\n\ndf = pd.DataFrame(news, columns=&#91;\"title\", \"url\"])\ndf.to_csv(\"data_pandus.csv\", index=False)<\/code><\/pre>\n\n\n\n<p>\u7d50\u679c\u7684\u306b\u306f\u4e21\u65b9\u3068\u3082\u3001\u540c\u3058CSV\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br>\u3082\u3063\u3068\u30b9\u30de\u30fc\u30c8\u306aCSV\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u51fa\u529b\u65b9\u6cd5\u304c\u3042\u308b\u3093\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u52c9\u5f37\u3057\u307e\u3059\u2026<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-dominant-color=\"eaeaea\" data-has-transparency=\"true\" style=\"--dominant-color: #eaeaea;\" decoding=\"async\" sizes=\"(max-width: 728px) 100vw, 728px\" src=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-327.png\" alt=\"\" class=\"wp-image-1412 has-transparency\" width=\"586\" height=\"213\" srcset=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-327.png 728w, https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-327-300x109.png 300w\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Yahoo\u30cb\u30e5\u30fc\u30b9\u306e\u30c8\u30c3\u30d7\u8a18\u4e8b\u306e\u30cf\u30a4\u30e9\u30a4\u30c8\u8a18\u4e8b\u307e\u3067\u53d6\u5f97<\/h2>\n\n\n\n<p>\u30c8\u30c3\u30d7\u8a18\u4e8b\u306eURL\u4e00\u89a7\u304c\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\u306e\u3067\u3001\u5f97\u3089\u308c\u305fURL\u304b\u3089\u3055\u3089\u306b\u968e\u5c64\u3092\u9032\u3093\u3067\u3001\u30cf\u30a4\u30e9\u30a4\u30c8\u8a18\u4e8b\u307e\u3067\u53d6\u5f97\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u4f5c\u696d\u306f\u3001\u7e70\u308a\u8fd4\u3057\u30b5\u30fc\u30d0\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u306e\u3067\u3001\u5f85\u6a5f\u6642\u9593\u3092\u8a2d\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests\nfrom bs4 import BeautifulSoup\nimport numpy as np\nimport pandus as pd\nimport re\nimport time\n\n# \u30a2\u30af\u30bb\u30b9\u3059\u308bURL\nurl = \"https:\/\/www.yahoo.co.jp\/\"\n\n# URL\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b res\u306b\u5e30\u3063\u3066\u304f\u308b\nres = requests.get(url)\n\n# res.text\u3092BeautifulSoup\u3067\u6271\u3046\u305f\u3081\u306e\u51e6\u7406\nsoup = BeautifulSoup(res.content, \"html.parser\")\n\n# href\u5c5e\u6027\u306b\u7279\u5b9a\u306e\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3082\u306e\u3092\u691c\u7d22\nelems = soup.find_all(href=re.compile(\"news.yahoo.co.jp\/pickup\"))\n\n# pandus\u3067CSV\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u51fa\u3059\u65b9\u6cd5\n\n# \u53d6\u5f97\u3057\u305f\u60c5\u5831\u306e\u6570\nnum = len(elems)\n\n# \u30ea\u30b9\u30c8\u306e\u5185\u5305\u8868\u8a18\u3067\u521d\u671f\u5316\n#news = &#91;&#91;\"\" for i in range(2)] for j in range(num)]\n\n# numpy\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u521d\u671f\u5316\nnews = np.zeros((num,3), dtype='object')\n\n# \u4fdd\u5b58\u3059\u308b\u3068\u304d\u306b\u30bf\u30a4\u30c8\u30eb\u884c\u306f\u8981\u308c\u308b\u306e\u3067\u3001\u30c7\u30fc\u30bf\u306e\u307f\u683c\u7d0d\ni = 0\nfor elem in elems:\n\n\n    # \u30cf\u30a4\u30e9\u30a4\u30c8\u8a18\u4e8b\u306e\u53d6\u5f97\n    res_detail = requests.get(elem.attrs&#91;'href'])\n    soup_detail = BeautifulSoup(res_detail.content, \"html.parser\")\n    elems_detail = soup_detail.find(class_=re.compile(\"highLightSearchTarget\"))\n\n    # \u30c7\u30fc\u30bf\u306e\u683c\u7d0d\n\n    news&#91;i]&#91;0] = elem.text\n    news&#91;i]&#91;1] = elem.attrs&#91;'href']\n    news&#91;i]&#91;2] = elems_detail.text\n    \n    print(\"Getting : \" + elem.text)\n\n\n    # \u30b5\u30fc\u30d0\u306b\u8ca0\u8377\u3092\u304b\u3051\u306a\u3044\u3088\u3046\u306b\u5f85\u6a5f\uff08\u79d2\uff09\n    time.sleep(1)\n\n    i = i + 1\n\ndf = pd.DataFrame(news, columns=&#91;\"title\", \"url\", \"highlight\"])\ndf.to_csv(\"data_pandus.csv\", index=False)<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-dominant-color=\"e2e2e2\" data-has-transparency=\"true\" style=\"--dominant-color: #e2e2e2;\" decoding=\"async\" width=\"358\" height=\"146\" sizes=\"(max-width: 358px) 100vw, 358px\" src=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-328.png\" alt=\"\" class=\"wp-image-1416 has-transparency\" srcset=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-328.png 358w, https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-328-300x122.png 300w\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-dominant-color=\"e5e5e5\" data-has-transparency=\"false\" style=\"--dominant-color: #e5e5e5;\" decoding=\"async\" sizes=\"(max-width: 1007px) 100vw, 1007px\" src=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-329.png\" alt=\"\" class=\"wp-image-1417 not-transparent\" width=\"752\" height=\"198\" srcset=\"https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-329.png 1007w, https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-329-300x79.png 300w, https:\/\/fukugyouhistory.tokyo\/wp-content\/uploads\/2023\/03\/image-329-768x202.png 768w\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Selenium\u3092\u7528\u3044\u305f\u30d6\u30e9\u30a6\u30b6\u64cd\u4f5c\u3092\u3057\u3066\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u8a18\u8f09\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3001<br>\u3053\u3053\u307e\u3067\u3067\u9577\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u307e\u305f\u7d9a\u304d\u306e\u8a18\u4e8b\u3092\u4f5c\u6210\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u3053\u3053\u307e\u3067\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306e\u8a18\u4e8b\uff08Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3000\u5b9f\u8df5\u2460\uff09\u306e\u7d9a\u304d\u3092\u8a18\u8f09\u3057\u3066\u304d\u307e\u3059\u3002 \u524d\u56de\u306f\u3001HTML\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u5fc5\u8981\u306a\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u3001\u7d50\u679c\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3001\u3082\u3046\u5c11\u3057\u5b9f\u8df5\u7684\u306a\u5185\u5bb9\u306b\u3057\u3066\u3044\u304d\u305f\u3044\u3068 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":{"0":"post-1408","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-python"},"_links":{"self":[{"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/1408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1408"}],"version-history":[{"count":9,"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/1408\/revisions"}],"predecessor-version":[{"id":1425,"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=\/wp\/v2\/posts\/1408\/revisions\/1425"}],"wp:attachment":[{"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fukugyouhistory.tokyo\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}