{"id":1137170,"date":"2025-01-08T21:45:14","date_gmt":"2025-01-08T13:45:14","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1137170.html"},"modified":"2025-01-08T21:45:17","modified_gmt":"2025-01-08T13:45:17","slug":"python%e5%a6%82%e4%bd%95%e5%af%b9%e6%96%87%e4%bb%b6%e5%a4%b9%e7%9a%84%e6%95%b0%e6%8d%ae%e6%8c%89%e6%9c%88%e5%88%86%e7%bb%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1137170.html","title":{"rendered":"python\u5982\u4f55\u5bf9\u6587\u4ef6\u5939\u7684\u6570\u636e\u6309\u6708\u5206\u7ec4"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25101050\/63bb966e-c151-41af-b099-ce73cda5b82b.webp\" alt=\"python\u5982\u4f55\u5bf9\u6587\u4ef6\u5939\u7684\u6570\u636e\u6309\u6708\u5206\u7ec4\" \/><\/p>\n<p><p> <strong>Python\u5bf9\u6587\u4ef6\u5939\u7684\u6570\u636e\u6309\u6708\u5206\u7ec4\u7684\u65b9\u6cd5\u6709\uff1a\u8bfb\u53d6\u6587\u4ef6\u7684\u521b\u5efa\u6216\u4fee\u6539\u65f6\u95f4\u3001\u63d0\u53d6\u65f6\u95f4\u4fe1\u606f\u3001\u6839\u636e\u6708\u4efd\u8fdb\u884c\u5206\u7ec4\u3001\u5bf9\u5206\u7ec4\u7ed3\u679c\u8fdb\u884c\u5904\u7406\u3002<\/strong>\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Python\u5bf9\u6587\u4ef6\u5939\u4e2d\u7684\u6570\u636e\u6309\u6708\u8fdb\u884c\u5206\u7ec4\uff0c\u5e76\u63d0\u4f9b\u793a\u4f8b\u4ee3\u7801\u548c\u5b9e\u7528\u5efa\u8bae\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u8bfb\u53d6\u6587\u4ef6\u7684\u521b\u5efa\u6216\u4fee\u6539\u65f6\u95f4<\/p>\n<\/p>\n<p><p>\u5728\u5bf9\u6587\u4ef6\u5939\u4e2d\u7684\u6570\u636e\u6309\u6708\u5206\u7ec4\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u83b7\u53d6\u6bcf\u4e2a\u6587\u4ef6\u7684\u521b\u5efa\u6216\u4fee\u6539\u65f6\u95f4\u3002Python\u7684<code>os<\/code>\u548c<code>datetime<\/code>\u6a21\u5757\u53ef\u4ee5\u65b9\u4fbf\u5730\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import os<\/p>\n<p>from datetime import datetime<\/p>\n<h2><strong>\u83b7\u53d6\u6587\u4ef6\u7684\u4fee\u6539\u65f6\u95f4<\/strong><\/h2>\n<p>def get_file_modification_time(file_path):<\/p>\n<p>    timestamp = os.path.getmtime(file_path)<\/p>\n<p>    return datetime.fromtimestamp(timestamp)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4ee3\u7801\u7247\u6bb5\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>os.path.getmtime<\/code>\u51fd\u6570\u83b7\u53d6\u6587\u4ef6\u7684\u4fee\u6539\u65f6\u95f4\u6233\uff0c\u5e76\u4f7f\u7528<code>datetime.fromtimestamp<\/code>\u5c06\u65f6\u95f4\u6233\u8f6c\u6362\u4e3a\u53ef\u8bfb\u7684\u65e5\u671f\u65f6\u95f4\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u63d0\u53d6\u65f6\u95f4\u4fe1\u606f<\/p>\n<\/p>\n<p><p>\u83b7\u53d6\u6587\u4ef6\u7684\u4fee\u6539\u65f6\u95f4\u540e\uff0c\u9700\u8981\u63d0\u53d6\u5176\u4e2d\u7684\u6708\u4efd\u4fe1\u606f\uff0c\u4ee5\u4fbf\u540e\u7eed\u5206\u7ec4\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_file_month(file_path):<\/p>\n<p>    modification_time = get_file_modification_time(file_path)<\/p>\n<p>    return modification_time.strftime(&#39;%Y-%m&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u91cc\u4f7f\u7528<code>strftime<\/code>\u65b9\u6cd5\u5c06\u65e5\u671f\u65f6\u95f4\u5bf9\u8c61\u683c\u5f0f\u5316\u4e3a\u201c\u5e74-\u6708\u201d\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\uff0c\u65b9\u4fbf\u540e\u7eed\u5206\u7ec4\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u6839\u636e\u6708\u4efd\u8fdb\u884c\u5206\u7ec4<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u904d\u5386\u6587\u4ef6\u5939\u4e2d\u7684\u6240\u6709\u6587\u4ef6\uff0c\u5e76\u6839\u636e\u6708\u4efd\u5bf9\u6587\u4ef6\u8fdb\u884c\u5206\u7ec4\u3002\u53ef\u4ee5\u4f7f\u7528\u5b57\u5178\u6765\u5b58\u50a8\u5206\u7ec4\u7ed3\u679c\uff0c\u952e\u4e3a\u6708\u4efd\uff0c\u503c\u4e3a\u6587\u4ef6\u5217\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def group_files_by_month(folder_path):<\/p>\n<p>    files_by_month = {}<\/p>\n<p>    for file_name in os.listdir(folder_path):<\/p>\n<p>        file_path = os.path.join(folder_path, file_name)<\/p>\n<p>        if os.path.isfile(file_path):<\/p>\n<p>            file_month = get_file_month(file_path)<\/p>\n<p>            if file_month not in files_by_month:<\/p>\n<p>                files_by_month[file_month] = []<\/p>\n<p>            files_by_month[file_month].append(file_path)<\/p>\n<p>    return files_by_month<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4ee3\u7801\u7247\u6bb5\u4e2d\uff0c<code>os.listdir<\/code>\u51fd\u6570\u7528\u4e8e\u83b7\u53d6\u6587\u4ef6\u5939\u4e2d\u7684\u6240\u6709\u6587\u4ef6\u540d\uff0c\u5e76\u4f7f\u7528<code>os.path.isfile<\/code>\u68c0\u67e5\u6bcf\u4e2a\u6587\u4ef6\u662f\u5426\u4e3a\u666e\u901a\u6587\u4ef6\u3002\u7136\u540e\uff0c\u8c03\u7528<code>get_file_month<\/code>\u51fd\u6570\u83b7\u53d6\u6587\u4ef6\u7684\u6708\u4efd\u4fe1\u606f\uff0c\u5e76\u5c06\u6587\u4ef6\u8def\u5f84\u6dfb\u52a0\u5230\u5bf9\u5e94\u6708\u4efd\u7684\u5217\u8868\u4e2d\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u5bf9\u5206\u7ec4\u7ed3\u679c\u8fdb\u884c\u5904\u7406<\/p>\n<\/p>\n<p><p>\u6839\u636e\u5b9e\u9645\u9700\u6c42\uff0c\u53ef\u4ee5\u5bf9\u5206\u7ec4\u7ed3\u679c\u8fdb\u884c\u8fdb\u4e00\u6b65\u5904\u7406\uff0c\u6bd4\u5982\u7edf\u8ba1\u6bcf\u4e2a\u6708\u7684\u6587\u4ef6\u6570\u3001\u5c06\u6587\u4ef6\u79fb\u52a8\u5230\u5bf9\u5e94\u6708\u4efd\u7684\u5b50\u6587\u4ef6\u5939\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def move_files_to_month_folders(folder_path):<\/p>\n<p>    files_by_month = group_files_by_month(folder_path)<\/p>\n<p>    for month, files in files_by_month.items():<\/p>\n<p>        month_folder_path = os.path.join(folder_path, month)<\/p>\n<p>        if not os.path.exists(month_folder_path):<\/p>\n<p>            os.makedirs(month_folder_path)<\/p>\n<p>        for file_path in files:<\/p>\n<p>            file_name = os.path.basename(file_path)<\/p>\n<p>            new_file_path = os.path.join(month_folder_path, file_name)<\/p>\n<p>            os.rename(file_path, new_file_path)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4ee3\u7801\u7247\u6bb5\u4e2d\uff0c<code>os.makedirs<\/code>\u51fd\u6570\u7528\u4e8e\u521b\u5efa\u6708\u4efd\u5b50\u6587\u4ef6\u5939\uff0c<code>os.rename<\/code>\u51fd\u6570\u7528\u4e8e\u5c06\u6587\u4ef6\u79fb\u52a8\u5230\u5bf9\u5e94\u6708\u4efd\u7684\u5b50\u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5904\u7406\u5927\u578b\u6587\u4ef6\u5939\u548c\u4f18\u5316\u6027\u80fd<\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406\u5927\u578b\u6587\u4ef6\u5939\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u6027\u80fd\u74f6\u9888\u3002\u6b64\u65f6\uff0c\u53ef\u4ee5\u8003\u8651\u4ee5\u4e0b\u4f18\u5316\u7b56\u7565\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u591a\u7ebf\u7a0b\u6216\u591a\u8fdb\u7a0b<\/strong>\uff1a\u4f7f\u7528<code>concurrent.futures<\/code>\u6a21\u5757\u7684\u7ebf\u7a0b\u6c60\u6216\u8fdb\u7a0b\u6c60\u6765\u5e76\u53d1\u5904\u7406\u6587\u4ef6\u3002<\/li>\n<li><strong>\u7f13\u5b58\u6587\u4ef6\u4fe1\u606f<\/strong>\uff1a\u5982\u679c\u6587\u4ef6\u5939\u4e2d\u7684\u6587\u4ef6\u53d8\u5316\u4e0d\u9891\u7e41\uff0c\u53ef\u4ee5\u5c06\u6587\u4ef6\u4fe1\u606f\u7f13\u5b58\u5230\u672c\u5730\u6587\u4ef6\u4e2d\uff0c\u907f\u514d\u6bcf\u6b21\u90fd\u91cd\u65b0\u8bfb\u53d6\u3002<\/li>\n<li><strong>\u6279\u91cf\u64cd\u4f5c<\/strong>\uff1a\u5c3d\u91cf\u51cf\u5c11\u6587\u4ef6\u64cd\u4f5c\u7684\u6b21\u6570\uff0c\u53ef\u4ee5\u5148\u5c06\u6587\u4ef6\u8def\u5f84\u5b58\u50a8\u5230\u5217\u8868\u4e2d\uff0c\u7136\u540e\u6279\u91cf\u79fb\u52a8\u6587\u4ef6\u3002<\/li>\n<\/ol>\n<p><p>\u4e0b\u9762\u662f\u4f7f\u7528\u591a\u7ebf\u7a0b\u4f18\u5316\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from concurrent.futures import ThreadPoolExecutor<\/p>\n<p>def process_file(file_path, files_by_month):<\/p>\n<p>    file_month = get_file_month(file_path)<\/p>\n<p>    if file_month not in files_by_month:<\/p>\n<p>        files_by_month[file_month] = []<\/p>\n<p>    files_by_month[file_month].append(file_path)<\/p>\n<p>def group_files_by_month_concurrent(folder_path):<\/p>\n<p>    files_by_month = {}<\/p>\n<p>    file_paths = [os.path.join(folder_path, file_name) for file_name in os.listdir(folder_path) if os.path.isfile(os.path.join(folder_path, file_name))]<\/p>\n<p>    with ThreadPoolExecutor() as executor:<\/p>\n<p>        futures = [executor.submit(process_file, file_path, files_by_month) for file_path in file_paths]<\/p>\n<p>        for future in futures:<\/p>\n<p>            future.result()<\/p>\n<p>    return files_by_month<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4ee3\u7801\u7247\u6bb5\u4e2d\uff0c\u4f7f\u7528<code>ThreadPoolExecutor<\/code>\u6765\u5e76\u53d1\u5904\u7406\u6587\u4ef6\uff0c\u63d0\u9ad8\u4e86\u5206\u7ec4\u64cd\u4f5c\u7684\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u7ed3\u8bba<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u8be6\u7ec6\u8bb2\u89e3\u4e86\u5982\u4f55\u4f7f\u7528Python\u5bf9\u6587\u4ef6\u5939\u4e2d\u7684\u6570\u636e\u6309\u6708\u5206\u7ec4\uff0c\u5e76\u63d0\u4f9b\u4e86\u793a\u4f8b\u4ee3\u7801\u548c\u4f18\u5316\u5efa\u8bae\u3002<strong>\u83b7\u53d6\u6587\u4ef6\u7684\u521b\u5efa\u6216\u4fee\u6539\u65f6\u95f4\u3001\u63d0\u53d6\u65f6\u95f4\u4fe1\u606f\u3001\u6839\u636e\u6708\u4efd\u8fdb\u884c\u5206\u7ec4\u3001\u5bf9\u5206\u7ec4\u7ed3\u679c\u8fdb\u884c\u5904\u7406<\/strong>\u662f\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\u7684\u5173\u952e\u6b65\u9aa4\u3002\u5728\u5904\u7406\u5927\u578b\u6587\u4ef6\u5939\u65f6\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u591a\u7ebf\u7a0b\u6216\u591a\u8fdb\u7a0b\u6765\u4f18\u5316\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u5e0c\u671b\u672c\u6587\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\u3002\u5982\u679c\u60a8\u6709\u4efb\u4f55\u95ee\u9898\u6216\u5efa\u8bae\uff0c\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u7559\u8a00\u8ba8\u8bba\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u6309\u6708\u5bf9\u6587\u4ef6\u5939\u4e2d\u7684\u6587\u4ef6\u8fdb\u884c\u5206\u7ec4\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>os<\/code>\u548c<code>datetime<\/code>\u6a21\u5757\u6765\u904d\u5386\u6587\u4ef6\u5939\u4e2d\u7684\u6587\u4ef6\uff0c\u5e76\u6839\u636e\u6587\u4ef6\u7684\u6700\u540e\u4fee\u6539\u65f6\u95f4\u5c06\u5b83\u4eec\u6309\u6708\u5206\u7ec4\u3002\u9996\u5148\uff0c\u83b7\u53d6\u6587\u4ef6\u7684\u4fee\u6539\u65f6\u95f4\uff0c\u7136\u540e\u6839\u636e\u6708\u4efd\u5c06\u6587\u4ef6\u5206\u7c7b\u3002\u60a8\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5b57\u5178\uff0c\u5176\u4e2d\u952e\u662f\u6708\u4efd\uff0c\u503c\u662f\u8be5\u6708\u7684\u6587\u4ef6\u5217\u8868\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u7b80\u5316\u6309\u6708\u5206\u7ec4\u7684\u8fc7\u7a0b\uff1f<\/strong><br \/>\u662f\u7684\uff0cPython\u4e2d\u6709\u4e00\u4e9b\u7b2c\u4e09\u65b9\u5e93\u53ef\u4ee5\u5e2e\u52a9\u7b80\u5316\u6587\u4ef6\u7ba1\u7406\u4efb\u52a1\u3002\u6bd4\u5982\uff0c<code>pandas<\/code>\u5e93\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u5730\u5904\u7406\u65e5\u671f\u548c\u65f6\u95f4\u6570\u636e\u3002\u901a\u8fc7\u8bfb\u53d6\u6587\u4ef6\u7684\u4fee\u6539\u65f6\u95f4\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u65e5\u671f\u65f6\u95f4\u683c\u5f0f\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u6309\u6708\u4efd\u5bf9\u6587\u4ef6\u8fdb\u884c\u5206\u7ec4\u3002<\/p>\n<p><strong>\u5904\u7406\u5927\u578b\u6587\u4ef6\u5939\u65f6\uff0c\u6709\u4ec0\u4e48\u6027\u80fd\u4f18\u5316\u5efa\u8bae\uff1f<\/strong><br \/>\u5728\u5904\u7406\u5927\u578b\u6587\u4ef6\u5939\u65f6\uff0c\u4f18\u5316\u6027\u80fd\u975e\u5e38\u91cd\u8981\u3002\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u751f\u6210\u5668\u800c\u4e0d\u662f\u4e00\u6b21\u6027\u52a0\u8f7d\u6240\u6709\u6587\u4ef6\uff0c\u51cf\u5c11\u5185\u5b58\u4f7f\u7528\u3002\u6b64\u5916\uff0c\u4f7f\u7528<code>multiprocessing<\/code>\u6a21\u5757\u5e76\u884c\u5904\u7406\u6587\u4ef6\u4e5f\u80fd\u663e\u8457\u63d0\u9ad8\u6548\u7387\u3002\u786e\u4fdd\u5728\u5904\u7406\u6587\u4ef6\u65f6\u53ea\u63d0\u53d6\u5fc5\u8981\u7684\u4fe1\u606f\uff0c\u4ee5\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u8ba1\u7b97\u5f00\u9500\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u5206\u7ec4\u540e\u8f93\u51fa\u8fd9\u4e9b\u6587\u4ef6\uff1f<\/strong><br \/>\u5728\u5206\u7ec4\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u5c06\u6587\u4ef6\u5217\u8868\u8f93\u51fa\u5230\u63a7\u5236\u53f0\uff0c\u6216\u5c06\u5176\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\u3002\u53ef\u4ee5\u4f7f\u7528<code>json<\/code>\u6a21\u5757\u5c06\u5206\u7ec4\u4fe1\u606f\u4fdd\u5b58\u4e3aJSON\u683c\u5f0f\uff0c\u4fbf\u4e8e\u540e\u7eed\u7684\u6570\u636e\u5904\u7406\u548c\u5206\u6790\u3002\u6839\u636e\u9700\u6c42\uff0c\u60a8\u8fd8\u53ef\u4ee5\u751f\u6210\u6bcf\u4e2a\u6708\u7684\u6c47\u603b\u62a5\u544a\uff0c\u6216\u76f4\u63a5\u5728\u6587\u4ef6\u5939\u4e2d\u521b\u5efa\u5bf9\u5e94\u7684\u5b50\u6587\u4ef6\u5939\uff0c\u4fbf\u4e8e\u7ba1\u7406\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5bf9\u6587\u4ef6\u5939\u7684\u6570\u636e\u6309\u6708\u5206\u7ec4\u7684\u65b9\u6cd5\u6709\uff1a\u8bfb\u53d6\u6587\u4ef6\u7684\u521b\u5efa\u6216\u4fee\u6539\u65f6\u95f4\u3001\u63d0\u53d6\u65f6\u95f4\u4fe1\u606f\u3001\u6839\u636e\u6708\u4efd\u8fdb\u884c\u5206\u7ec4\u3001\u5bf9\u5206\u7ec4\u7ed3 [&hellip;]","protected":false},"author":3,"featured_media":1137175,"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\/1137170"}],"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=1137170"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1137170\/revisions"}],"predecessor-version":[{"id":1137177,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1137170\/revisions\/1137177"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1137175"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1137170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1137170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1137170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}