{"id":207,"date":"2021-11-14T16:56:56","date_gmt":"2021-11-14T08:56:56","guid":{"rendered":"https:\/\/scutvk.cn\/?p=207"},"modified":"2021-11-16T00:16:06","modified_gmt":"2021-11-15T16:16:06","slug":"python%e6%90%9c%e7%b4%a2%e6%96%87%e4%bb%b6%e5%a4%b9%e5%86%85%e6%89%80%e6%9c%89%e6%ba%90%e7%a0%81%e4%b8%ad%e7%9a%84%e5%85%b3%e9%94%ae%e5%ad%97","status":"publish","type":"post","link":"https:\/\/scutvk.cn\/?p=207","title":{"rendered":"Python\u641c\u7d22\u6587\u4ef6\u5939\u5185\u6240\u6709\u6e90\u7801\u4e2d\u7684\u5173\u952e\u5b57"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><strong>\u8d77\u56e0\uff1a<\/strong><\/p>\n\n\n\n<p>\u6536\u94b1\u529e\u4e8b\uff0c\u5e2e\u534f\u4f1a\u8bba\u575b\u8fc1\u79fb\u7684\u65f6\u5019\uff0c\u56e0\u4e3a\u5386\u53f2\u9057\u7559\u539f\u56e0\uff0c\u53ef\u80fd\u662f\u56e0\u4e3a\u4e4b\u524d\u7684\u524d\u8f88\u6539\u4e86\u592a\u591a\u6e90\u7801\uff0c\u5bfc\u81f4\u9664\u4e86\u6570\u636e\u5e93\u5916\u6709\u597d\u591a\u5730\u65b9\u6211\u627e\u4e0d\u5230\u5728\u54ea\u6539\uff0c\u8bba\u575b\u7f51\u7ad9\u603b\u662f\u4f1a\u8df3\u8f6c\u5230\u4e4b\u524d\u7528\u8fc7\u7684\u4e00\u4e2a\u57df\u540d\uff0c\u6211\u5c31\u5728\u60f3\u80fd\u4e0d\u80fd\u904d\u5386\u6587\u4ef6\u5939\u91cc\u9762\u7684\u6240\u6709\u6e90\u7801\u641c\u7d22\u90a3\u4e2a\u65e7\u57df\u540d\u3002<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>\u8bfb\u53d6\u6587\u4ef6\u5939\u5185\u6240\u6709\u6587\u4ef6\uff08\u5305\u62ec\u5b50\u6587\u4ef6\u5939\u5185\u7684\u6587\u4ef6\uff09<\/strong><\/p>\n\n\n\n<p><strong>\u601d\u8def\uff1a\u6211\u4eec\u53ea\u662f\u60f3\u8bfb\u51fa\u6240\u6709php\u6587\u4ef6\u7684\u7edd\u5bf9\u8def\u5f84\uff0c\u4e0d\u9700\u8981\u77e5\u9053\u4ec0\u4e48\u6587\u4ef6\u5939\u4e4b\u7c7b\u7684\u4e1c\u897f\uff0c\u6240\u6709\u6211\u4eec\u76f4\u63a5\u4f7f\u7528os.walk()\u5373\u53ef\u3002<\/strong><\/p>\n\n\n\n<p>\u8fd9\u91cc\u7528\u5230os\u5e93\u91cc\u9762\u7684os.walk()\u51fd\u6570<\/p>\n\n\n\n<p>\u6211\u4eec\u67e5\u770bPython Docs\u5173\u4e8eos.walk()\u7684\u6709  <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.walk\" target=\"_blank\">os &#8212; \u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u63a5\u53e3 \u2014 Python 3.10.0 \u6587\u6863<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-background has-vivid-cyan-blue-background-color has-vivid-cyan-blue-color\"\/>\n\n\n\n<p><code>os.<\/code><code>walk<\/code>(<em>top<\/em>,&nbsp;<em>topdown=True<\/em>,&nbsp;<em>onerror=None<\/em>,&nbsp;<em>followlinks=False<\/em>)<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.walk\" target=\"_blank\" rel=\"noopener\"><\/a><\/p>\n\n\n\n<p id=\"index-30\">\u751f\u6210\u76ee\u5f55\u6811\u4e2d\u7684\u6587\u4ef6\u540d\uff0c\u65b9\u5f0f\u662f\u6309\u4e0a-&gt;\u4e0b\u6216\u4e0b-&gt;\u4e0a\u987a\u5e8f\u6d4f\u89c8\u76ee\u5f55\u6811\u3002\u5bf9\u4e8e\u4ee5&nbsp;<em>top<\/em>&nbsp;\u4e3a\u6839\u7684\u76ee\u5f55\u6811\u4e2d\u7684\u6bcf\u4e2a\u76ee\u5f55\uff08\u5305\u62ec&nbsp;<em>top<\/em>&nbsp;\u672c\u8eab\uff09\uff0c\u5b83\u90fd\u4f1a\u751f\u6210\u4e00\u4e2a\u4e09\u5143\u7ec4&nbsp;<code>(dirpath,&nbsp;dirnames,&nbsp;filenames)<\/code>\u3002<\/p>\n\n\n\n<p><em>dirpath<\/em>&nbsp;\u662f\u8868\u793a\u76ee\u5f55\u8def\u5f84\u7684\u5b57\u7b26\u4e32\u3002&nbsp;<em>dirnames<\/em>&nbsp;\u662f&nbsp;<em>dirpath<\/em>&nbsp;\u4e2d\u5b50\u76ee\u5f55\u540d\u79f0\u7ec4\u6210\u7684\u5217\u8868 (excluding&nbsp;<code>'.'<\/code>&nbsp;and&nbsp;<code>'..'<\/code>)\u3002&nbsp;<em>filenames<\/em>&nbsp;\u662f&nbsp;<em>dirpath<\/em>&nbsp;\u4e2d\u975e\u76ee\u5f55\u6587\u4ef6\u540d\u79f0\u7ec4\u6210\u7684\u5217\u8868\u3002 \u8bf7\u6ce8\u610f\u5217\u8868\u4e2d\u7684\u540d\u79f0\u4e0d\u5e26\u8def\u5f84\u90e8\u5206\u3002 \u8981\u83b7\u53d6&nbsp;<em>dirpath<\/em>&nbsp;\u4e2d\u6587\u4ef6\u6216\u76ee\u5f55\u7684\u5b8c\u6574\u8def\u5f84\uff08\u4ee5&nbsp;<em>top<\/em>&nbsp;\u6253\u5934\uff09\uff0c\u8bf7\u6267\u884c&nbsp;<code>os.path.join(dirpath,&nbsp;name)<\/code>\u3002 \u5217\u8868\u662f\u5426\u6392\u5e8f\u53d6\u51b3\u4e8e\u5177\u4f53\u6587\u4ef6\u7cfb\u7edf\u3002 \u5982\u679c\u6709\u6587\u4ef6\u6216\u5217\u8868\u751f\u6210\u671f\u95f4\u88ab\u79fb\u9664\u6216\u6dfb\u52a0\u5230&nbsp;<em>dirpath<\/em>&nbsp;\u76ee\u5f55\u4e2d\uff0c\u662f\u5426\u8981\u5305\u62ec\u8be5\u6587\u4ef6\u7684\u540d\u79f0\u5e76\u6ca1\u6709\u89c4\u5b9a\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u53ef\u9009\u53c2\u6570&nbsp;<em>topdown<\/em>&nbsp;\u4e3a&nbsp;<code>True<\/code>&nbsp;\u6216\u672a\u6307\u5b9a\uff0c\u5219\u5728\u6240\u6709\u5b50\u76ee\u5f55\u7684\u4e09\u5143\u7ec4\u4e4b\u524d\u751f\u6210\u7236\u76ee\u5f55\u7684\u4e09\u5143\u7ec4\uff08\u76ee\u5f55\u662f\u81ea\u4e0a\u800c\u4e0b\u751f\u6210\u7684\uff09\u3002\u5982\u679c&nbsp;<em>topdown<\/em>&nbsp;\u4e3a&nbsp;<code>False<\/code>\uff0c\u5219\u5728\u6240\u6709\u5b50\u76ee\u5f55\u7684\u4e09\u5143\u7ec4\u751f\u6210\u4e4b\u540e\u518d\u751f\u6210\u7236\u76ee\u5f55\u7684\u4e09\u5143\u7ec4\uff08\u76ee\u5f55\u662f\u81ea\u4e0b\u800c\u4e0a\u751f\u6210\u7684\uff09\u3002\u65e0\u8bba&nbsp;<em>topdown<\/em>&nbsp;\u4e3a\u4f55\u503c\uff0c\u5728\u751f\u6210\u76ee\u5f55\u53ca\u5176\u5b50\u76ee\u5f55\u7684\u5143\u7ec4\u4e4b\u524d\uff0c\u90fd\u5c06\u68c0\u7d22\u5168\u90e8\u5b50\u76ee\u5f55\u5217\u8868\u3002<\/p>\n\n\n\n<p>\u5f53&nbsp;<em>topdown<\/em>&nbsp;\u4e3a&nbsp;<code>True<\/code>&nbsp;\u65f6\uff0c\u8c03\u7528\u8005\u53ef\u4ee5\u5c31\u5730\u4fee\u6539&nbsp;<em>dirnames<\/em>&nbsp;\u5217\u8868\uff08\u4e5f\u8bb8\u7528\u5230\u4e86&nbsp;<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/reference\/simple_stmts.html#del\" target=\"_blank\" rel=\"noopener\"><code>del<\/code><\/a>&nbsp;\u6216\u5207\u7247\uff09\uff0c\u800c&nbsp;<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.walk\" target=\"_blank\" rel=\"noopener\"><code>walk()<\/code><\/a>&nbsp;\u5c06\u4ec5\u4ec5\u9012\u5f52\u5230\u4ecd\u4fdd\u7559\u5728&nbsp;<em>dirnames<\/em>&nbsp;\u4e2d\u7684\u5b50\u76ee\u5f55\u5185\u3002\u8fd9\u53ef\u7528\u4e8e\u51cf\u5c11\u641c\u7d22\u3001\u52a0\u5165\u7279\u5b9a\u7684\u8bbf\u95ee\u987a\u5e8f\uff0c\u751a\u81f3\u53ef\u5728\u7ee7\u7eed&nbsp;<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.walk\" target=\"_blank\" rel=\"noopener\"><code>walk()<\/code><\/a>&nbsp;\u4e4b\u524d\u544a\u77e5&nbsp;<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.walk\" target=\"_blank\" rel=\"noopener\"><code>walk()<\/code><\/a>&nbsp;\u7531\u8c03\u7528\u8005\u65b0\u5efa\u6216\u91cd\u547d\u540d\u7684\u76ee\u5f55\u7684\u4fe1\u606f\u3002\u5f53&nbsp;<em>topdown<\/em>&nbsp;\u4e3a&nbsp;<code>False<\/code>&nbsp;\u65f6\uff0c\u4fee\u6539&nbsp;<em>dirnames<\/em>&nbsp;\u5bf9&nbsp;walk&nbsp;\u7684\u884c\u4e3a\u6ca1\u6709\u5f71\u54cd\uff0c\u56e0\u4e3a\u5728\u81ea\u4e0b\u800c\u4e0a\u6a21\u5f0f\u4e2d\uff0c<em>dirnames<\/em>&nbsp;\u4e2d\u7684\u76ee\u5f55\u662f\u5728&nbsp;<em>dirpath<\/em>&nbsp;\u672c\u8eab\u4e4b\u524d\u751f\u6210\u7684\u3002<\/p>\n\n\n\n<p>\u9ed8\u8ba4\u5c06\u5ffd\u7565&nbsp;<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.scandir\" target=\"_blank\" rel=\"noopener\"><code>scandir()<\/code><\/a>&nbsp;\u8c03\u7528\u4e2d\u7684\u9519\u8bef\u3002\u5982\u679c\u6307\u5b9a\u4e86\u53ef\u9009\u53c2\u6570&nbsp;<em>onerror<\/em>\uff0c\u5b83\u5e94\u8be5\u662f\u4e00\u4e2a\u51fd\u6570\u3002\u51fa\u9519\u65f6\u5b83\u4f1a\u88ab\u8c03\u7528\uff0c\u53c2\u6570\u662f\u4e00\u4e2a&nbsp;<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/exceptions.html#OSError\" target=\"_blank\" rel=\"noopener\"><code>OSError<\/code><\/a>&nbsp;\u5b9e\u4f8b\u3002\u5b83\u53ef\u4ee5\u62a5\u544a\u9519\u8bef\u7136\u540e\u7ee7\u7eed\u904d\u5386\uff0c\u6216\u8005\u629b\u51fa\u5f02\u5e38\u7136\u540e\u4e2d\u6b62\u904d\u5386\u3002\u6ce8\u610f\uff0c\u53ef\u4ee5\u4ece\u5f02\u5e38\u5bf9\u8c61\u7684&nbsp;<code>filename<\/code>&nbsp;\u5c5e\u6027\u4e2d\u83b7\u53d6\u51fa\u9519\u7684\u6587\u4ef6\u540d\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.walk\" target=\"_blank\" rel=\"noopener\"><code>walk()<\/code><\/a>&nbsp;\u9ed8\u8ba4\u4e0d\u4f1a\u9012\u5f52\u8fdb\u6307\u5411\u76ee\u5f55\u7684\u7b26\u53f7\u94fe\u63a5\u3002\u53ef\u4ee5\u5728\u652f\u6301\u7b26\u53f7\u94fe\u63a5\u7684\u7cfb\u7edf\u4e0a\u5c06&nbsp;<em>followlinks<\/em>&nbsp;\u8bbe\u7f6e\u4e3a&nbsp;<code>True<\/code>\uff0c\u4ee5\u8bbf\u95ee\u7b26\u53f7\u94fe\u63a5\u6307\u5411\u7684\u76ee\u5f55\u3002<\/p>\n\n\n\n<p>\u6ce8\u89e3<\/p>\n\n\n\n<p>\u6ce8\u610f\uff0c\u5982\u679c\u94fe\u63a5\u6307\u5411\u81ea\u8eab\u7684\u7236\u76ee\u5f55\uff0c\u5219\u5c06&nbsp;<em>followlinks<\/em>&nbsp;\u8bbe\u7f6e\u4e3a&nbsp;<code>True<\/code>&nbsp;\u53ef\u80fd\u5bfc\u81f4\u65e0\u9650\u9012\u5f52\u3002<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.walk\" target=\"_blank\" rel=\"noopener\"><code>walk()<\/code><\/a>&nbsp;\u4e0d\u4f1a\u8bb0\u5f55\u5b83\u5df2\u7ecf\u8bbf\u95ee\u8fc7\u7684\u76ee\u5f55\u3002<\/p>\n\n\n\n<p>\u6ce8\u89e3<\/p>\n\n\n\n<p>\u5982\u679c\u4f20\u5165\u7684\u662f\u76f8\u5bf9\u8def\u5f84\uff0c\u8bf7\u4e0d\u8981\u5728\u6062\u590d&nbsp;<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.walk\" target=\"_blank\" rel=\"noopener\"><code>walk()<\/code><\/a>&nbsp;\u4e4b\u95f4\u66f4\u6539\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u3002<a href=\"https:\/\/docs.python.org\/zh-cn\/3\/library\/os.html?highlight=os%20walk#os.walk\" target=\"_blank\" rel=\"noopener\"><code>walk()<\/code><\/a>&nbsp;\u4e0d\u4f1a\u66f4\u6539\u5f53\u524d\u76ee\u5f55\uff0c\u5e76\u5047\u5b9a\u5176\u8c03\u7528\u8005\u4e5f\u4e0d\u4f1a\u66f4\u6539\u5f53\u524d\u76ee\u5f55\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-background has-vivid-cyan-blue-background-color has-vivid-cyan-blue-color\"\/>\n\n\n\n<p>\u6211\u4eec\u5199\u51fa\u521d\u6b65\u6e90\u7801\u6765\u6765\u904d\u5386\u6587\u4ef6\u5939\u5e76\u4e14\u8f93\u51fa\u770b\u770b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import os\n\ndirloc = input('\u8bf7\u8f93\u5165\u641c\u7d22\u6587\u4ef6\u5939\u8def\u5f84:')\n\nfor dirpath,dirnames,filenames in os.walk(dirloc):\n    for filename in filenames:\n        print(os.path.join(dirpath,filename))\n<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"637\" src=\"https:\/\/x2.mday.top\/wp-content\/uploads\/2021\/11\/image-1-1024x637.png\" alt=\"\" class=\"wp-image-209\" srcset=\"https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-1-1024x637.png 1024w, https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-1-300x187.png 300w, https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-1-768x478.png 768w, https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-1-1536x956.png 1536w, https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-1-2048x1275.png 2048w, https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-1-769x479.png 769w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u56fe2<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u90a3\u4e48\u73b0\u5728\u8bc1\u660e\u4e86\u6211\u4eec\u76ee\u524d\u7528\u7684\u65b9\u5f0f\u662f\u6ca1\u9519\u7684<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>\u8bfb\u53d6\u6bcf\u4e00\u4e2aphp\u6587\u4ef6\uff0c\u5e76\u4e14\u641c\u7d22\u5173\u952e\u5b57<\/strong><\/p>\n\n\n\n<p><strong>\u601d\u8def\uff1a\u5148\u5224\u65ad\u540e\u7f00\u662f\u4e0d\u662fphp\u5728\u518d\u4f7f\u7528open()\u51fd\u6570\u6253\u5f00\uff0c\u6253\u5f00\u540e\u7528readlines\u8bfb\u53d6\u6240\u6709\u884c\uff0c\u518d\u8bfb\u53d6\u6bcf\u4e00\u884c\u5230line\uff0c\u5728\u6bcf\u4e2aphp\u6587\u4ef6\u7684\u6bcf\u4e00\u884c\u4e2d\u641c\u7d22\u5173\u952e\u5b57keyword<\/strong><\/p>\n\n\n\n<p>\u6e90\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import os\n\ndirloc = input('\u8bf7\u8f93\u5165\u641c\u7d22\u6587\u4ef6\u5939\u8def\u5f84:')\nkeyword = input('\u8bf7\u8f93\u5165\u5173\u952e\u5b57:')\n\nfor dirpath,dirnames,filenames in os.walk(dirloc):\n    for filename in filenames:\n        if filename&#91;-4:] == '.php':\n            phpfileloc = os.path.join(dirpath,filename)#php\u6587\u4ef6\u7684\u7edd\u5bf9\u8def\u5f84\n            with open(phpfileloc, 'r', encoding='gbk') as f:\n                lines = f.readlines()\n                for line in lines:\n                    if keyword in line:\n                        print('\u5b58\u5728\u5173\u952e\u5b57\u4e8e:', phpfileloc)\n\n<\/code><\/pre>\n\n\n\n<p>\u6548\u679c\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"369\" src=\"https:\/\/x2.mday.top\/wp-content\/uploads\/2021\/11\/image-2-1024x369.png\" alt=\"\" class=\"wp-image-210\" srcset=\"https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-2-1024x369.png 1024w, https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-2-300x108.png 300w, https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-2-768x277.png 768w, https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-2-769x277.png 769w, https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-2.png 1030w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>\u56fe3<\/figcaption><\/figure><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8d77\u56e0\uff1a \u6536\u94b1\u529e\u4e8b\uff0c\u5e2e\u534f\u4f1a\u8bba\u575b\u8fc1\u79fb\u7684\u65f6\u5019\uff0c\u56e0\u4e3a\u5386\u53f2\u9057&hellip;<\/p>\n","protected":false},"author":1,"featured_media":210,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[2,5],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/scutvk.cn\/wp-content\/uploads\/2021\/11\/image-2.png","_links":{"self":[{"href":"https:\/\/scutvk.cn\/index.php?rest_route=\/wp\/v2\/posts\/207"}],"collection":[{"href":"https:\/\/scutvk.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scutvk.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scutvk.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scutvk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207"}],"version-history":[{"count":2,"href":"https:\/\/scutvk.cn\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":212,"href":"https:\/\/scutvk.cn\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions\/212"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/scutvk.cn\/index.php?rest_route=\/wp\/v2\/media\/210"}],"wp:attachment":[{"href":"https:\/\/scutvk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scutvk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scutvk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}