{"id":971490,"date":"2024-12-27T05:35:28","date_gmt":"2024-12-26T21:35:28","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/971490.html"},"modified":"2024-12-27T05:35:30","modified_gmt":"2024-12-26T21:35:30","slug":"%e5%a6%82%e4%bd%95split%e5%a4%9a%e4%b8%aa%e5%8f%82%e6%95%b0python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/971490.html","title":{"rendered":"\u5982\u4f55split\u591a\u4e2a\u53c2\u6570python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24194603\/1656db7d-367f-42c1-a47c-6cdf3fac984b.webp\" alt=\"\u5982\u4f55split\u591a\u4e2a\u53c2\u6570python\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c<strong>\u53ef\u4ee5\u4f7f\u7528<code>split()<\/code>\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u548c\u5176\u4ed6\u5b57\u7b26\u4e32\u5904\u7406\u6280\u672f\u6765\u5206\u5272\u591a\u4e2a\u53c2\u6570<\/strong>\u3002\u9996\u5148\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7<code>split()<\/code>\u65b9\u6cd5\u6765\u5904\u7406\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u5206\u5272\u4efb\u52a1\uff0c\u8be5\u65b9\u6cd5\u53ef\u4ee5\u6839\u636e\u6307\u5b9a\u7684\u5206\u9694\u7b26\u5bf9\u5b57\u7b26\u4e32\u8fdb\u884c\u5206\u5272\u3002\u5176\u6b21\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u5141\u8bb8\u6211\u4eec\u5904\u7406\u66f4\u590d\u6742\u7684\u5206\u5272\u9700\u6c42\u3002\u4e0b\u9762\u6211\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u6280\u672f\u6765\u5b9e\u73b0\u591a\u4e2a\u53c2\u6570\u7684\u5206\u5272\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528<code>split()<\/code>\u65b9\u6cd5\u5206\u5272\u53c2\u6570<\/p>\n<\/p>\n<p><p>Python\u7684<code>split()<\/code>\u65b9\u6cd5\u662f\u5b57\u7b26\u4e32\u5bf9\u8c61\u7684\u4e00\u4e2a\u5185\u7f6e\u65b9\u6cd5\uff0c<strong>\u7528\u4e8e\u6839\u636e\u6307\u5b9a\u7684\u5206\u9694\u7b26\u5c06\u5b57\u7b26\u4e32\u5206\u5272\u6210\u4e00\u4e2a\u5217\u8868<\/strong>\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c<code>split()<\/code>\u4f1a\u4ee5\u7a7a\u683c\u4e3a\u5206\u9694\u7b26\uff0c\u4f46\u53ef\u4ee5\u4f20\u9012\u5176\u4ed6\u5b57\u7b26\u4f5c\u4e3a\u53c2\u6570\u6765\u6307\u5b9a\u4e0d\u540c\u7684\u5206\u9694\u7b26\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u6211\u4eec\u6709\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u53c2\u6570\u7684\u5b57\u7b26\u4e32\uff0c\u53c2\u6570\u4e4b\u95f4\u7528\u9017\u53f7\u5206\u9694\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">params = &quot;param1,param2,param3,param4&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>split(&#39;,&#39;)<\/code>\u6765\u5206\u5272\u8fd9\u4e9b\u53c2\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">param_list = params.split(&#39;,&#39;)<\/p>\n<p>print(param_list)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u76f4\u89c2\u4e14\u6613\u4e8e\u4f7f\u7528<\/strong>\uff0c\u9002\u5408\u7528\u4e8e\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u5206\u5272\u4efb\u52a1\u3002\u4f46\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c<code>split()<\/code>\u65b9\u6cd5\u53ea\u80fd\u5904\u7406\u5355\u4e00\u7684\u5206\u9694\u7b26\uff0c\u5982\u679c\u5b57\u7b26\u4e32\u4e2d\u5305\u542b\u591a\u79cd\u5206\u9694\u7b26\uff0c\u5219\u9700\u8981\u7ed3\u5408\u5176\u4ed6\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5206\u5272\u53c2\u6570<\/p>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u52a0\u7075\u6d3b\u548c\u5f3a\u5927\u7684\u65b9\u5f0f\u6765\u5904\u7406\u5b57\u7b26\u4e32\u5206\u5272\u3002Python\u4e2d\u53ef\u4ee5\u4f7f\u7528<code>re<\/code>\u6a21\u5757\u6765\u6267\u884c\u6b63\u5219\u8868\u8fbe\u5f0f\u64cd\u4f5c\u3002<strong>\u6b63\u5219\u8868\u8fbe\u5f0f\u5141\u8bb8\u6211\u4eec\u6307\u5b9a\u590d\u6742\u7684\u5206\u9694\u7b26\u6a21\u5f0f<\/strong>\uff0c\u4ece\u800c\u9002\u5e94\u66f4\u591a\u6837\u5316\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>params = &quot;param1,param2;param3|param4&quot;<\/p>\n<p>param_list = re.split(r&#39;[;,|]&#39;, params)<\/p>\n<p>print(param_list)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>re.split()<\/code>\u65b9\u6cd5\uff0c\u5e76\u4f20\u9012\u4e86\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5f0f<code>[;,|]<\/code>\uff0c\u8be5\u6a21\u5f0f\u5339\u914d\u9017\u53f7\u3001\u5206\u53f7\u6216\u7ad6\u7ebf\u4f5c\u4e3a\u5206\u9694\u7b26\u3002<strong>\u8fd9\u79cd\u65b9\u6cd5\u6bd4<code>split()<\/code>\u66f4\u52a0\u7075\u6d3b<\/strong>\uff0c\u53ef\u4ee5\u5904\u7406\u591a\u79cd\u5206\u9694\u7b26\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u5904\u7406\u5206\u5272\u540e\u7684\u53c2\u6570<\/p>\n<\/p>\n<p><p>\u5728\u5206\u5272\u5b57\u7b26\u4e32\u540e\uff0c\u901a\u5e38\u9700\u8981\u5bf9\u5206\u5272\u5f97\u5230\u7684\u53c2\u6570\u5217\u8868\u8fdb\u884c\u8fdb\u4e00\u6b65\u5904\u7406\u3002\u8fd9\u53ef\u80fd\u5305\u62ec\u5bf9\u53c2\u6570\u8fdb\u884c\u53bb\u9664\u7a7a\u767d\u5b57\u7b26\u3001\u8f6c\u6362\u6570\u636e\u7c7b\u578b\u3001\u9a8c\u8bc1\u53c2\u6570\u683c\u5f0f\u7b49\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u53bb\u9664\u7a7a\u767d\u5b57\u7b26<\/p>\n<p>param_list = [param.strip() for param in param_list]<\/p>\n<h2><strong>\u8f6c\u6362\u6570\u636e\u7c7b\u578b<\/strong><\/h2>\n<p>param_list = [int(param) for param in param_list if param.isdigit()]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u6839\u636e\u5177\u4f53\u5e94\u7528\u573a\u666f\u7684\u4e0d\u540c\uff0c\u5206\u5272\u540e\u7684\u53c2\u6570\u5904\u7406\u65b9\u5f0f\u4e5f\u4f1a\u6709\u6240\u4e0d\u540c<\/strong>\u3002\u5728\u5904\u7406\u8fc7\u7a0b\u4e2d\uff0c\u5e94\u6ce8\u610f\u5f02\u5e38\u60c5\u51b5\u7684\u5904\u7406\uff0c\u6bd4\u5982\u5b57\u7b26\u8f6c\u6362\u5931\u8d25\u3001\u683c\u5f0f\u4e0d\u5339\u914d\u7b49\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u7ed3\u5408\u4f7f\u7528\u5176\u4ed6Python\u529f\u80fd<\/p>\n<\/p>\n<p><p>\u9664\u4e86<code>split()<\/code>\u548c\u6b63\u5219\u8868\u8fbe\u5f0f\uff0cPython\u4e2d\u8fd8\u6709\u5176\u4ed6\u529f\u80fd\u53ef\u4ee5\u8f85\u52a9\u5904\u7406\u5b57\u7b26\u4e32\u5206\u5272\u4efb\u52a1\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u89e3\u6790\u3001\u751f\u6210\u5668\u8868\u8fbe\u5f0f\u3001<code>map()<\/code>\u51fd\u6570\u7b49\u6765\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5904\u7406\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">params = &quot;param1=100;param2=200;param3=300&quot;<\/p>\n<p>param_dict = dict(item.split(&#39;=&#39;) for item in params.split(&#39;;&#39;))<\/p>\n<p>print(param_dict)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u901a\u8fc7\u4f7f\u7528<code>split()<\/code>\u65b9\u6cd5\u7ed3\u5408\u5217\u8868\u89e3\u6790\uff0c\u5c06\u53c2\u6570\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u4e86\u4e00\u4e2a\u5b57\u5178\u3002<strong>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u53c2\u6570\u4ee5\u952e\u503c\u5bf9\u7684\u5f62\u5f0f\u5b58\u5728\u7684\u60c5\u51b5<\/strong>\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5b9e\u6218\u6848\u4f8b\uff1a\u5206\u5272URL\u53c2\u6570<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u5904\u7406URL\u4e2d\u7684\u67e5\u8be2\u53c2\u6570\u3002URL\u7684\u67e5\u8be2\u53c2\u6570\u901a\u5e38\u662f\u4ee5<code>&amp;<\/code>\u5206\u9694\u7684\u952e\u503c\u5bf9\uff0c\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code>url = &quot;http:\/\/example.com\/?param1=value1&amp;param2=value2&amp;param3=value3&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4e0a\u8ff0\u65b9\u6cd5\u5c06\u5176\u8f6c\u6362\u4e3a\u4e00\u4e2a\u5b57\u5178\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from urllib.parse import urlparse, parse_qs<\/p>\n<p>query_string = urlparse(url).query<\/p>\n<p>params = parse_qs(query_string)<\/p>\n<p>print(params)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong><code>urlparse<\/code>\u548c<code>parse_qs<\/code>\u662f\u5904\u7406URL\u7684\u6807\u51c6\u65b9\u6cd5<\/strong>\uff0c\u5b83\u4eec\u53ef\u4ee5\u89e3\u6790URL\u5e76\u8fd4\u56de\u67e5\u8be2\u53c2\u6570\u7684\u5b57\u5178\u5f62\u5f0f\uff0c\u975e\u5e38\u65b9\u4fbf\u5b9e\u7528\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u4ecb\u7ecd\uff0c\u53ef\u4ee5\u53d1\u73b0Python\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u5206\u5272\u591a\u4e2a\u53c2\u6570\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u548c\u5b57\u7b26\u4e32\u683c\u5f0f\u3002<strong>\u5728\u5b9e\u9645\u7f16\u7a0b\u4e2d\uff0c\u7075\u6d3b\u8fd0\u7528\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6548\u7387<\/strong>\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5904\u7406\u591a\u4e2a\u53c2\u6570\u7684\u5206\u5272\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u7684<code>split()<\/code>\u65b9\u6cd5\u6765\u5904\u7406\u591a\u4e2a\u53c2\u6570\u7684\u5206\u5272\u3002\u60a8\u53ef\u4ee5\u6307\u5b9a\u5206\u9694\u7b26\uff0c\u4f8b\u5982\u9017\u53f7\u3001\u7a7a\u683c\u6216\u5176\u4ed6\u5b57\u7b26\u3002\u5982\u679c\u9700\u8981\u5904\u7406\u5305\u542b\u591a\u4e2a\u5206\u9694\u7b26\u7684\u5b57\u7b26\u4e32\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5757<code>re<\/code>\uff0c\u901a\u8fc7<code>re.split()<\/code>\u6765\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u5206\u5272\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u7ed9\u51fa\u4e00\u4e2a\u5904\u7406\u591a\u4e2a\u53c2\u6570\u7684\u5177\u4f53\u793a\u4f8b\u5417\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\uff01\u5047\u8bbe\u6709\u4e00\u4e2a\u5b57\u7b26\u4e32\u5305\u542b\u591a\u4e2a\u7528\u9017\u53f7\u5206\u9694\u7684\u503c\uff0c\u4f8b\u5982 <code>&quot;apple,banana,orange&quot;<\/code>\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u4ee3\u7801\u5c06\u5176\u5206\u5272\u6210\u5217\u8868\uff1a<\/p>\n<pre><code class=\"language-python\">fruits = &quot;apple,banana,orange&quot;\nfruit_list = fruits.split(&#39;,&#39;)\nprint(fruit_list)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;banana&#39;, &#39;orange&#39;]\n<\/code><\/pre>\n<p>\u5bf9\u4e8e\u4f7f\u7528\u4e0d\u540c\u5206\u9694\u7b26\u7684\u60c5\u51b5\uff0c\u53ef\u4ee5\u4f7f\u7528<code>re<\/code>\u6a21\u5757\uff1a<\/p>\n<pre><code class=\"language-python\">import re\ndata = &quot;apple;banana orange,grape&quot;\nresult = re.split(r&#39;[;, ]+&#39;, data)\nprint(result)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;banana&#39;, &#39;orange&#39;, &#39;grape&#39;]\n<\/code><\/pre>\n<p><strong>\u5728\u5904\u7406\u5206\u5272\u540e\u7684\u53c2\u6570\u65f6\uff0c\u6709\u4ec0\u4e48\u597d\u7684\u5b9e\u8df5\u5efa\u8bae\uff1f<\/strong><br \/>\u5904\u7406\u5206\u5272\u540e\u7684\u53c2\u6570\u65f6\uff0c\u5efa\u8bae\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u6e05\u7406\u6570\u636e\uff0c\u4f8b\u5982\u53bb\u9664\u7a7a\u767d\u5b57\u7b26\u6216\u8fc7\u6ee4\u6389\u4e0d\u9700\u8981\u7684\u503c\u3002\u53ef\u4ee5\u4f7f\u7528<code>strip()<\/code>\u65b9\u6cd5\u53bb\u9664\u6bcf\u4e2a\u5143\u7d20\u7684\u524d\u540e\u7a7a\u683c\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">data = &quot; apple , banana , orange &quot;\ncleaned_list = [fruit.strip() for fruit in data.split(&#39;,&#39;)]\nprint(cleaned_list)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;banana&#39;, &#39;orange&#39;]\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u4e0d\u4ec5\u4f7f\u4ee3\u7801\u7b80\u6d01\u6613\u8bfb\uff0c\u8fd8\u53ef\u4ee5\u6709\u6548\u907f\u514d\u7531\u4e8e\u591a\u4f59\u7a7a\u683c\u5bfc\u81f4\u7684\u9519\u8bef\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u51fd\u6570\u4e2d\u63a5\u6536\u548c\u5904\u7406\u591a\u4e2a\u53c2\u6570\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>*args<\/code>\u548c<code>**kwargs<\/code>\u6765\u63a5\u6536\u4e0d\u5b9a\u6570\u91cf\u7684\u4f4d\u7f6e\u53c2\u6570\u548c\u5173\u952e\u5b57\u53c2\u6570\u3002\u8fd9\u6837\u53ef\u4ee5\u5728\u51fd\u6570\u4e2d\u7075\u6d3b\u5904\u7406\u591a\u4e2a\u53c2\u6570\u3002\u4f8b\u5982\uff1a<\/p>\n<pre><code class=\"language-python\">def process_fruits(*args):\n    return [fruit.strip() for fruit in args]\n\nresult = process_fruits(&quot;apple&quot;, &quot; banana &quot;, &quot;orange&quot;)\nprint(result)  # \u8f93\u51fa: [&#39;apple&#39;, &#39;banana&#39;, &#39;orange&#39;]\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u9002\u5408\u9700\u8981\u4f20\u9012\u53ef\u53d8\u6570\u91cf\u7684\u53c2\u6570\u7684\u573a\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528split()\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u548c\u5176\u4ed6\u5b57\u7b26\u4e32\u5904\u7406\u6280\u672f\u6765\u5206\u5272\u591a\u4e2a\u53c2\u6570\u3002\u9996\u5148\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7 [&hellip;]","protected":false},"author":3,"featured_media":971495,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/971490"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=971490"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/971490\/revisions"}],"predecessor-version":[{"id":971500,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/971490\/revisions\/971500"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/971495"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=971490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=971490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=971490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}