id: 30e1d90d53cf44aaa85248b535616a5a
parent_id: 
item_type: 1
item_id: fdf89a91b8e4432aaf1fa6535d0e5526
item_updated_time: 1764345482568
title_diff: "[{\"diffs\":[[1,\"使用印象笔记 python sdk 从模板创建每日日记\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":27}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>使用印象笔记 python sdk 从模板创建每日日记</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"18281\\\"></a>\\\r\\\n<h1>使用印象笔记 python sdk 从模板创建每日日记</h1>\\\r\\\n\\\r\\\n<div><span>\\\n  <div style=\\\"--en-clipped-content:article\\\">\\\n<div><br/></div><div style=\\\"font-size: 16px; display:block; min-width: 100%; position: relative;\\\"> <div style=\\\"box-sizing:border-box;font-family:sans-serif;line-height:1.15;text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);\\\"><div style=\\\"box-sizing:border-box;font-size:14px;background-color:rgb(255, 255, 255);font-variant:tabular-nums;color:rgb(64, 64, 64);font-family:-apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif;line-height:1.42857;font-feature-settings:&quot;tnum&quot;;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;background-color:rgb(249, 249, 249);\\\"><div style=\\\"box-sizing:content-box;-webkit-box-pack:center;justify-content:center;-webkit-box-align:start;font-size:16px;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;background-color:rgb(255, 255, 255);border-radius:4px;box-shadow:rgba(26, 26, 26, 0.1) 0px 1px 3px;\\\"><h1 style=\\\"box-sizing:border-box;margin-top:0px;margin-bottom:0.5em;text-rendering:optimizelegibility;color:rgb(64, 64, 64);font-size:30px;word-break:break-word;font-weight:700;\\\">使用印象笔记 python sdk 从模板创建每日日记</h1><div style=\\\"box-sizing:border-box;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center;margin-bottom:32px;color:rgb(150, 150, 150);font-size:13px;display:flex;\\\"><div style=\\\"box-sizing:border-box;display:flex;\\\"><span style=\\\"box-sizing:border-box;margin-right:8px;\\\">2017.03.26 16:03:34</span><span style=\\\"box-sizing:border-box;margin-right:8px;\\\">字数 641</span><span style=\\\"box-sizing:border-box;\\\">阅读 1133</span></div></div><div style=\\\"box-sizing:border-box;display:block;font-weight:400;line-height:1.8;margin-bottom:20px;\\\"><p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">翻看印象笔记，发现已经坚持记了 1000+ 的日记，格式都是流水账格式。<br style=\\\"box-sizing:border-box;\\\"/>\\\n最近觉得『晨间日记』和『格志日记』的模板方法蛮好的，可以比较容易的引导自己思考和回顾一天，<br style=\\\"box-sizing:border-box;\\\"/>\\\n但是直接使用格志日记 APP 又觉得丧失了自由度，不如在印象笔记里面写起来随性好控制。</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">印象笔记本身有一些<a href=\\\"https://link.jianshu.com/?t=https://list.yinxiang.com/\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">模板</a>，但是使用起来并不方便，<br style=\\\"box-sizing:border-box;\\\"/>\\\n每天写日记还得复制一遍模板到对应的笔记本。于是想每天自动根据指定的模板生成日记，<br style=\\\"box-sizing:border-box;\\\"/>\\\n并将标题置为当天的日期。</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">看了下 <a href=\\\"https://link.jianshu.com/?t=https://ifttt.com/discover\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">IFTTT</a>，发现里面的印象笔记模块只能做创建、<br style=\\\"box-sizing:border-box;\\\"/>\\\n更新等简单操作，无法满足上述需求。<br style=\\\"box-sizing:border-box;\\\"/>\\\n于是研究了下印象笔记的 API，可以用 Python SDK 比较方便的写脚本解决这个问题（需要有基本的python知识）。<br style=\\\"box-sizing:border-box;\\\"/>\\\n扩展开来，也可以参考这个做一些类似的对于印象笔记的自动化操作。</p>\\\n<h2 style=\\\"box-sizing:border-box;text-rendering:optimizelegibility;color:rgb(64, 64, 64);margin:0px 0px 16px;font-weight:700;font-size:24px;\\\">使用流程</h2>\\\n<h3 style=\\\"box-sizing:border-box;text-rendering:optimizelegibility;color:rgb(64, 64, 64);margin:0px 0px 16px;font-weight:700;font-size:22px;\\\">创建笔记模板</h3>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">在印象笔记里新建一条笔记，作为你自己的日记模板。具体内容可以参考晨间日记和格志日记的方法（文末有参考链接）。<br style=\\\"box-sizing:border-box;\\\"/>\\\n记住你创建的笔记标题，一会儿脚本里要用到。</p>\\\n<div style=\\\"box-sizing:border-box;width:100%;margin:0px;padding-bottom:25px;text-align:center;font-size:0px;\\\">\\\n<div style=\\\"box-sizing:border-box;position:relative;z-index:95;background-color:transparent;transition:background-color 0.1s linear 0s;margin:0px auto;max-width:303px;max-height:438px;\\\">\\\n<div style=\\\"box-sizing:border-box;z-index:90;padding-bottom:144.55%;\\\"></div>\\\n<div style=\\\"box-sizing:border-box;position:absolute;top:0px;left:0px;width:100%;height:100%;overflow:hidden;\\\"><img src=\\\":/d4243ad5dfde4c0699572925da4e6ac7\\\" type=\\\"image/png\\\" data-filename=\\\"44137-03d1899831348edd.png\\\" height=\\\"438\\\" style=\\\"box-sizing:border-box;width:auto;height:auto;border:0px;vertical-align:middle;max-width:100%;transition:all 0.15s linear 0s;z-index:95;opacity:1;cursor:zoom-in;\\\" width=\\\"303\\\"/></div>\\\n</div>\\\n<div style=\\\"box-sizing:border-box;min-width:20%;max-width:80%;min-height:43px;display:inline-block;padding:10px;margin:0px auto;border-bottom:1px solid rgb(238, 238, 238);font-size:13px;color:rgb(153, 153, 153);\\\">晨间日志的奇迹</div>\\\n</div>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\"><a href=\\\"https://link.jianshu.com/?t=https://book.douban.com/subject/3744041/\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">《晨间日记的奇迹》</a></p>\\\n<div style=\\\"box-sizing:border-box;width:100%;margin:0px;padding-bottom:25px;text-align:center;font-size:0px;\\\">\\\n<div style=\\\"box-sizing:border-box;position:relative;z-index:95;background-color:transparent;transition:background-color 0.1s linear 0s;margin:0px auto;max-width:500px;max-height:313px;\\\">\\\n<div style=\\\"box-sizing:border-box;z-index:90;padding-bottom:62.6%;\\\"></div>\\\n<div style=\\\"box-sizing:border-box;position:absolute;top:0px;left:0px;width:100%;height:100%;overflow:hidden;\\\"><img src=\\\":/183b8a04b42f443f8ac0d8429d0141cd\\\" type=\\\"image/png\\\" data-filename=\\\"44137-a41e863e35c8f172.png\\\" height=\\\"313\\\" style=\\\"box-sizing:border-box;width:auto;height:auto;border:0px;vertical-align:middle;max-width:100%;transition:all 0.15s linear 0s;z-index:95;opacity:1;cursor:zoom-in;\\\" width=\\\"500\\\"/></div>\\\n</div>\\\n<div style=\\\"box-sizing:border-box;min-width:20%;max-width:80%;min-height:43px;display:inline-block;padding:10px;margin:0px auto;border-bottom:1px solid rgb(238, 238, 238);font-size:13px;color:rgb(153, 153, 153);\\\">格志日记</div>\\\n</div><br style=\\\"box-sizing:border-box;\\\"/>\\\n<div style=\\\"box-sizing:border-box;width:100%;margin:0px;padding-bottom:25px;text-align:center;font-size:0px;\\\">\\\n<div style=\\\"box-sizing:border-box;position:relative;z-index:95;background-color:transparent;transition:background-color 0.1s linear 0s;margin:0px auto;max-width:700px;max-height:390px;\\\">\\\n<div style=\\\"box-sizing:border-box;z-index:90;padding-bottom:55.720000000000006%;\\\"></div>\\\n<div style=\\\"box-sizing:border-box;position:absolute;top:0px;left:0px;width:100%;height:100%;overflow:hidden;\\\"><img src=\\\":/a78d5bbd788043119c70ce57143132ba\\\" type=\\\"image/png\\\" data-filename=\\\"44137-5f6666583938f79a.png\\\" height=\\\"380\\\" style=\\\"box-sizing:border-box;width:auto;height:auto;border:0px;vertical-align:middle;max-width:100%;transition:all 0.15s linear 0s;z-index:95;opacity:1;cursor:zoom-in;\\\" width=\\\"682\\\"/></div>\\\n</div>\\\n<div style=\\\"box-sizing:border-box;min-width:20%;max-width:80%;min-height:43px;display:inline-block;padding:10px;margin:0px auto;border-bottom:1px solid rgb(238, 238, 238);font-size:13px;color:rgb(153, 153, 153);\\\">格志日记界面</div>\\\n</div>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\"><a href=\\\"https://link.jianshu.com/?t=http://griddiaryapp.com/zh/\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">格志日记</a></p>\\\n<h3 style=\\\"box-sizing:border-box;text-rendering:optimizelegibility;color:rgb(64, 64, 64);margin:0px 0px 16px;font-weight:700;font-size:22px;\\\">获取 developer token</h3>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">如果你还没有获取过 developer token，访问 <a href=\\\"https://link.jianshu.com/?t=https://app.yinxiang.com/api/DeveloperToken.action\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">https://app.yinxiang.com/api/DeveloperToken.action</a>。<br style=\\\"box-sizing:border-box;\\\"/>\\\n生成并记录你的 Token。</p>\\\n<div style=\\\"box-sizing:border-box;width:100%;margin:0px;padding-bottom:25px;text-align:center;font-size:0px;\\\">\\\n<div style=\\\"box-sizing:border-box;position:relative;z-index:95;background-color:rgb(230, 230, 230);transition:background-color 0.1s linear 0s;margin:0px auto;max-width:700px;max-height:608px;\\\">\\\n<div style=\\\"box-sizing:border-box;z-index:90;padding-bottom:36.980000000000004%;\\\"></div>\\\n<div style=\\\"box-sizing:border-box;position:absolute;top:0px;left:0px;width:100%;height:100%;overflow:hidden;\\\"><img src=\\\":/ad483a4fa32e489ab46a2b5adc6855b6\\\" type=\\\"image/png\\\" data-filename=\\\"44137-f271addaee879ac3.png\\\" height=\\\"252\\\" style=\\\"box-sizing:border-box;width:auto;height:auto;border:0px;vertical-align:middle;max-width:100%;transition:all 0.15s linear 0s;z-index:95;opacity:0.3;cursor:zoom-in;\\\" width=\\\"682\\\"/></div>\\\n</div>\\\n<div style=\\\"box-sizing:border-box;min-width:20%;max-width:80%;min-height:43px;display:inline-block;padding:10px;margin:0px auto;border-bottom:1px solid rgb(238, 238, 238);font-size:13px;color:rgb(153, 153, 153);\\\">create a developer token</div>\\\n</div>\\\n<div style=\\\"box-sizing:border-box;width:100%;margin:0px;padding-bottom:25px;text-align:center;font-size:0px;\\\">\\\n<div style=\\\"box-sizing:border-box;position:relative;z-index:95;background-color:rgb(230, 230, 230);transition:background-color 0.1s linear 0s;margin:0px auto;max-width:700px;max-height:532px;\\\">\\\n<div style=\\\"box-sizing:border-box;z-index:90;padding-bottom:76.0%;\\\"></div>\\\n<div style=\\\"box-sizing:border-box;position:absolute;top:0px;left:0px;width:100%;height:100%;overflow:hidden;\\\"><img src=\\\":/ba947a88bb8f4ca1a5a41bb53a378616\\\" type=\\\"image/png\\\" data-filename=\\\"44137-6eed17a6093ba3f3.png\\\" height=\\\"519\\\" style=\\\"box-sizing:border-box;width:auto;height:auto;border:0px;vertical-align:middle;max-width:100%;transition:all 0.15s linear 0s;z-index:95;opacity:0.3;cursor:zoom-in;\\\" width=\\\"682\\\"/></div>\\\n</div>\\\n<div style=\\\"box-sizing:border-box;min-width:20%;max-width:80%;min-height:43px;display:inline-block;padding:10px;margin:0px auto;border-bottom:1px solid rgb(238, 238, 238);font-size:13px;color:rgb(153, 153, 153);\\\">developer token</div>\\\n</div>\\\n<h3 style=\\\"box-sizing:border-box;text-rendering:optimizelegibility;color:rgb(64, 64, 64);margin:0px 0px 16px;font-weight:700;font-size:22px;\\\">安装 evernote sdk，测试脚本</h3>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">安装 evernote sdk</p>\\\n<pre style=\\\"box-sizing:border-box;text-align:left;word-spacing:normal;tab-size:4;hyphens:none;margin:0.5em 0px;border-radius:4px;font-size:12px;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;margin-top:0px;margin-bottom:20px;overflow-wrap:normal;word-break:break-all;white-space:pre;padding:1em;line-height:1.5;color:rgb(204, 204, 204);position:relative;padding-left:3.8em;overflow:auto;background:rgb(45, 45, 45);\\\"><code style=\\\"box-sizing:border-box;border:none;color:rgb(204, 204, 204);background:none;text-align:left;word-spacing:normal;word-break:normal;overflow-wrap:normal;line-height:1.5;tab-size:4;hyphens:none;font-size:1em;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;background-color:rgba(0, 0, 0, 0);padding:0px;vertical-align:unset;position:relative;white-space:inherit;\\\">pip install evernote\\\n<span style=\\\"box-sizing:border-box;position:absolute;pointer-events:none;top:0px;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid rgb(153, 153, 153);user-select:none;\\\"><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">1</span></span></span></code></pre>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">将下列代码复制到 python 文件中，修改对应的配置，并在本地运行测试。</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">代码也可参见：<a href=\\\"https://link.jianshu.com/?t=https://github.com/huwenchao/mywiki/blob/master/codes/create_evernote_dairy_from_template.py\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">https://github.com/huwenchao/mywiki/blob/master/codes/create_evernote_dairy_from_template.py</a></p>\\\n<pre style=\\\"box-sizing:border-box;text-align:left;word-spacing:normal;tab-size:4;hyphens:none;margin:0.5em 0px;border-radius:4px;font-size:12px;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;margin-top:0px;margin-bottom:20px;overflow-wrap:normal;word-break:break-all;white-space:pre;padding:1em;line-height:1.5;color:rgb(204, 204, 204);position:relative;padding-left:3.8em;overflow:auto;background:rgb(45, 45, 45);\\\"><code style=\\\"box-sizing:border-box;border:none;color:rgb(204, 204, 204);background:none;text-align:left;word-spacing:normal;word-break:normal;overflow-wrap:normal;line-height:1.5;tab-size:4;hyphens:none;font-size:1em;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;background-color:rgba(0, 0, 0, 0);padding:0px;vertical-align:unset;position:relative;white-space:inherit;\\\"><span style=\\\"box-sizing:border-box;color:rgb(153, 153, 153);\\\"># -*- coding: utf-8 -*-</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">&quot;&quot;&quot;\\\n搜索并复制指定的印象笔记模板，到指定的文件夹。\\\n&quot;&quot;&quot;</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">import</span> logging\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">import</span> datetime\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">import</span> evernote<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>edam<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>userstore<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>constants <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">as</span> UserStoreConstants\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">import</span> evernote<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>edam<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span><span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">type</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>ttypes <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">as</span> Types\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">from</span> evernote<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>api<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>client <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">import</span> EvernoteClient\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">from</span> evernote<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>edam<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>notestore <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">import</span> NoteStore\\\n\\\nlogging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>basicConfig<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span>level<span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span>logging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>INFO<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n\\\n<span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">&quot;&quot;&quot;\\\n配置区域，请自行修改\\\n- auth_token: 访问 https://app.yinxiang.com/api/DeveloperToken.action 生成\\\n- diary_template_name：日记模板名称，请保证有且仅有一个标题为这个的笔记\\\n- diary_notebook_name：复制生成的笔记要放入哪个笔记本，填写笔记本名称\\\n&quot;&quot;&quot;</span>\\\nauth_token <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">&quot;your token here&quot;</span>\\\ndiary_template_name <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'日记模板'</span>\\\ndiary_notebook_name <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'diary'</span>\\\n\\\n<span style=\\\"box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 日记标题。个人习惯用形如 『20170325（周六）』这样的标题，可以根据自己的需求修改。</span>\\\nweekday_chinese_map <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> <span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">{</span>\\\n    <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">0</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'周一'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n    <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">1</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'周二'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n    <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">2</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'周三'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n    <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">3</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'周四'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n    <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">4</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'周五'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n    <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">5</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'周六'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n    <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">6</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'周日'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">}</span>\\\nnow <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> datetime<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>datetime<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>now<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\ndiary_title <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> <span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'%s（%s）'</span> <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">%</span> <span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span>now<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>strftime<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'%Y%m%d'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n                          weekday_chinese_map<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">[</span>now<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>weekday<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">]</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\nlogging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>info<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'diary_title: %s'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> diary_title<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n\\\nclient <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> EvernoteClient<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span>token<span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span>auth_token<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> service_host<span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'app.yinxiang.com'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n\\\nuser_store <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> client<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>get_user_store<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n\\\nnote_store <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> client<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>get_note_store<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n\\\n<span style=\\\"box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 定位日记所在笔记本 guid</span>\\\nnotebooks <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> note_store<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>listNotebooks<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\nlogging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>debug<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'Found %s notebooks'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">len</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span>notebooks<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">for</span> notebook <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">in</span> notebooks<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n    logging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>debug<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'guid: [%s], notebook [%s]'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> notebook<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>guid<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> notebook<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>name<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n    <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">if</span> notebook<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>name <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">==</span> diary_notebook_name<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n        logging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>info<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'found diary notebook! guid: [%s], notebook [%s]'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n                     notebook<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>guid<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> notebook<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>name<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n        diary_notebook_guid <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> notebook<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>guid\\\n        <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">break</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">else</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n    logging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>critical<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'diary [%s] not found'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> diary_notebook_name<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n    exit<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">1</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n\\\n<span style=\\\"box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 定位日记模板 guid</span>\\\nnoteFilter <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> NoteStore<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>NoteFilter<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span>words<span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span>diary_template_name<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\nspec <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> NoteStore<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>NotesMetadataResultSpec<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n\\\nnmdList <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> note_store<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>findNotesMetadata<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span>noteFilter<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">0</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">250</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> spec<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\nlogging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>debug<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'nmdList: %s'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> nmdList<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">for</span> n <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">in</span> nmdList<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>notes<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n    note <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> note_store<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>getNote<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span>n<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>guid<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">True</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">True</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">False</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> <span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">False</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n    logging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>debug<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'guid: [%s], title: [%s]'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> note<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>guid<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> note<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>title<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n    <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">if</span> note<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>title <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">==</span> diary_template_name<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n        logging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>info<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'found diary template note! guid: [%s], title: [%s]'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span>\\\n                     note<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>guid<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> note<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>title<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n        diary_template_guid <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> note<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>guid\\\n        <span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">break</span>\\\n<span style=\\\"box-sizing:border-box;color:rgb(204, 153, 205);\\\">else</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">:</span>\\\n    logging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>critical<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'diary_template [%s] not found'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> diary_template_name<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n    exit<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(240, 141, 73);\\\">1</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n\\\n<span style=\\\"box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 复制模板，生成笔记，修改标题</span>\\\nres_note <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> note_store<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>copyNote<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span>diary_template_guid<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> diary_notebook_guid<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\nres_note<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>title <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> diary_title\\\nres_note <span style=\\\"box-sizing:border-box;color:rgb(103, 205, 204);\\\">=</span> note_store<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>updateNote<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span>res_note<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\nlogging<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">.</span>info<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">(</span><span style=\\\"box-sizing:border-box;color:rgb(126, 198, 153);\\\">'create diary for %s done!'</span><span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">,</span> now<span style=\\\"box-sizing:border-box;color:rgb(204, 204, 204);\\\">)</span>\\\n<span style=\\\"box-sizing:border-box;position:absolute;pointer-events:none;top:0px;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid rgb(153, 153, 153);user-select:none;\\\"><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">1</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">2</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">3</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">4</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">5</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">6</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">7</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">8</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">9</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">10</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">11</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">12</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">13</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">14</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">15</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">16</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">17</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">18</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">19</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">20</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">21</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">22</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">23</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">24</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">25</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">26</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">27</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">28</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">29</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">30</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">31</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">32</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">33</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">34</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">35</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">36</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">37</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">38</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">39</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">40</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">41</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">42</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">43</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">44</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">45</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">46</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">47</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">48</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">49</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">50</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">51</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">52</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">53</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">54</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">55</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">56</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">57</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">58</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">59</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">60</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">61</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">62</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">63</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">64</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">65</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">66</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">67</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">68</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">69</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">70</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">71</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">72</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">73</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">74</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">75</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">76</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">77</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">78</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">79</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">80</span></span><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">81</span></span></span></code></pre>\\\n<h3 style=\\\"box-sizing:border-box;text-rendering:optimizelegibility;color:rgb(64, 64, 64);margin:0px 0px 16px;font-weight:700;font-size:22px;\\\">部署到服务器定时执行</h3>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">本地测试脚本没问题的话，可以部署到服务器上，使用 crontab 每天定时执行。</p>\\\n<p style=\\\"box-sizing:border-box;margin-top:0px;word-break:break-word;margin-bottom:20px;\\\">参考配置(每天 00:01 执行，创建日记)：</p>\\\n<pre style=\\\"box-sizing:border-box;text-align:left;word-spacing:normal;tab-size:4;hyphens:none;margin:0.5em 0px;border-radius:4px;font-size:12px;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;margin-top:0px;margin-bottom:20px;overflow-wrap:normal;word-break:break-all;white-space:pre;padding:1em;line-height:1.5;color:rgb(204, 204, 204);position:relative;padding-left:3.8em;overflow:auto;background:rgb(45, 45, 45);\\\"><code style=\\\"box-sizing:border-box;border:none;color:rgb(204, 204, 204);background:none;text-align:left;word-spacing:normal;word-break:normal;overflow-wrap:normal;line-height:1.5;tab-size:4;hyphens:none;font-size:1em;font-family:Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace;background-color:rgba(0, 0, 0, 0);padding:0px;vertical-align:unset;position:relative;white-space:inherit;\\\">1 0 * * * bash -c 'cd ~/scripts &amp;&amp; python create_dairy_from_template.py &gt;&gt; ~/scripts/create_dairy.log 2&gt;&amp;1'\\\n<span style=\\\"box-sizing:border-box;position:absolute;pointer-events:none;top:0px;font-size:100%;left:-3.8em;width:3em;letter-spacing:-1px;border-right:1px solid rgb(153, 153, 153);user-select:none;\\\"><span style=\\\"box-sizing:border-box;pointer-events:none;display:block;\\\"><span style=\\\"color:rgb(153, 153, 153);display:block;padding-right:0.8em;text-align:right;\\\">1</span></span></span></code></pre>\\\n<h2 style=\\\"box-sizing:border-box;text-rendering:optimizelegibility;color:rgb(64, 64, 64);margin:0px 0px 16px;font-weight:700;font-size:24px;\\\">参考链接</h2>\\\n<ul style=\\\"box-sizing:border-box;padding-left:0px;list-style:none;word-break:break-word;margin:0px 0px 20px 20px;list-style-type:disc;\\\">\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\">晨间日记\\\n<ul style=\\\"box-sizing:border-box;padding-left:0px;list-style:none;word-break:break-word;margin:0px 0px 20px 20px;list-style-type:disc;margin-top:16px;\\\">\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\"><a href=\\\"https://link.jianshu.com/?t=http://www.lishen.me/archives/333\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">用印象笔记Evernote写图文并茂的晨间日记</a></li>\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\"><a href=\\\"https://link.jianshu.com/?t=https://list.yinxiang.com/moban/b21af494-2e61-4f3f-835c-911769c453db.php\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">晨间笔记模板</a></li>\\\n</ul>\\\n</li>\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\">印象笔记 python sdk\\\n<ul style=\\\"box-sizing:border-box;padding-left:0px;list-style:none;word-break:break-word;margin:0px 0px 20px 20px;list-style-type:disc;margin-top:16px;\\\">\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\"><a href=\\\"https://link.jianshu.com/?t=https://dev.yinxiang.com/doc/start/python.php\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">印象笔记 Python SDK 快速入门指南</a></li>\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\"><a href=\\\"https://link.jianshu.com/?t=https://github.com/evernote/evernote-sdk-python3\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">evernote-sdk-python3 github 地址</a></li>\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\"><a href=\\\"https://link.jianshu.com/?t=http://www.liuhaihua.cn/archives/482381.html\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">印象笔记 Python SDK 踩坑记</a></li>\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\"><a href=\\\"https://link.jianshu.com/?t=http://dev.evernote.com/doc/reference/NoteStore.html\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">API 文档参考</a></li>\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\"><a href=\\\"https://link.jianshu.com/?t=http://sf.geekitude.com/content/getting-all-notes-notebook-evernote-api-and-python\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">获取一个笔记本下的所有笔记</a></li>\\\n</ul>\\\n</li>\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\">其它\\\n<ul style=\\\"box-sizing:border-box;padding-left:0px;list-style:none;word-break:break-word;margin:0px 0px 20px 20px;list-style-type:disc;margin-top:16px;\\\">\\\n<li style=\\\"box-sizing:border-box;line-height:30px;\\\"><a href=\\\"https://link.jianshu.com/?t=http://linuxtools-rst.readthedocs.io/zh_CN/latest/tool/crontab.html\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:rgb(6, 129, 208);\\\" target=\\\"_blank\\\">crontab 配置说明</a></li>\\\n</ul>\\\n</li>\\\n</ul>\\\n</div><div style=\\\"box-sizing:border-box;\\\"></div><div style=\\\"box-sizing:border-box;-webkit-box-pack:justify;justify-content:space-between;font-size:14px;color:rgb(150, 150, 150);user-select:none;display:flex;-webkit-box-align:center;align-items:center;\\\"><div style=\\\"box-sizing:border-box;display:flex;-webkit-box-align:center;align-items:center;\\\"><div style=\\\"box-sizing:border-box;display:flex;-webkit-box-align:center;align-items:center;margin-right:12px;\\\"><div style=\\\"box-sizing:border-box;touch-action:manipulation;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:40px;height:40px;color:rgb(150, 150, 150);border:1px solid rgb(238, 238, 238);border-radius:50%;font-size:18px;cursor:pointer;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-0.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;\\\"><span style=\\\"color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;display:none;\\\"></span><img src=\\\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' fill='currentColor' aria-hidden='true' focusable='false' class='js-evernote-checked' data-evernote-id='658'%3e%3cpath d='M728.064 343.943529c-17.648941-2.891294-23.552-20.239059-26.503529-28.912941V104.026353C701.560471 46.200471 654.396235 0 595.425882 0c-53.007059 0-97.28 40.478118-106.134588 89.569882-29.997176 184.862118-138.541176 255.457882-217.630118 280.937412a26.142118 26.142118 0 0 0-18.130823 24.877177v560.067764c0 19.817412 16.022588 35.84 35.84 35.84h535.973647c56.018824-11.565176 94.328471-31.804235 120.892235-86.738823l120.832-416.105412c23.552-75.173647-14.757647-147.395765-100.231529-144.564706h-238.772706z m-571.813647 31.744H76.619294C35.358118 375.687529 0 410.383059 0 450.861176v462.426353c0 43.369412 32.406588 78.004706 76.619294 78.004706h79.631059c27.708235 0 50.115765-22.407529 50.115765-50.115764V425.863529a50.115765 50.115765 0 0 0-50.115765-50.115764z' data-evernote-id='144' class='js-evernote-checked'%3e%3c/path%3e%3c/svg%3e\\\" style=\\\"box-sizing:border-box;line-height:1;display:inline-block;overflow:hidden;\\\"></img></i></div><span style=\\\"box-sizing:border-box;touch-action:manipulation;margin-left:8px;cursor:pointer;\\\">4人点赞<i style=\\\"box-sizing:border-box;display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-0.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-size:12px;\\\"><span style=\\\"color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;font-size:12px;display:none;\\\"></span><img src=\\\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='64 64 896 896' focusable='false' class='js-evernote-checked' data-icon='right' width='1em' height='1em' fill='currentColor' aria-hidden='true' data-evernote-id='662'%3e%3cpath d='M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 0 0 0-50.4z' data-evernote-id='663' class='js-evernote-checked'%3e%3c/path%3e%3c/svg%3e\\\" style=\\\"box-sizing:border-box;line-height:1;display:inline-block;overflow:hidden;\\\"></img></i></span></div><div style=\\\"box-sizing:border-box;display:flex;-webkit-box-align:center;align-items:center;\\\"><div style=\\\"box-sizing:border-box;touch-action:manipulation;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:40px;height:40px;color:rgb(150, 150, 150);border:1px solid rgb(238, 238, 238);border-radius:50%;font-size:18px;cursor:pointer;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-0.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;\\\"><span style=\\\"color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;display:none;\\\"></span><img src=\\\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' fill='currentColor' aria-hidden='true' focusable='false' class='js-evernote-checked' data-evernote-id='667'%3e%3cpath d='M771.413333 668.728889c-18.773333 3.015111-25.031111 20.878222-28.16 29.866667v217.884444c0 59.733333-49.948444 107.52-112.412444 107.52a115.427556 115.427556 0 0 1-112.412445-92.558222c-31.857778-190.919111-146.830222-263.850667-230.627555-290.133334a27.420444 27.420444 0 0 1-19.228445-26.168888V37.944889C268.572444 17.066667 285.582222 0 306.631111 0h567.864889c59.335111 11.946667 99.953778 32.824889 128 89.543111l128.113778 429.909333c24.974222 77.653333-15.644444 152.291556-106.211556 149.276445H771.413333z m-605.866666-32.824889H81.180444C37.546667 635.904 0 600.064 0 558.250667V80.611556C0 35.84 34.360889 0 81.180444 0H165.546667c29.297778 0 53.077333 23.779556 53.077333 53.077333v529.749334a53.077333 53.077333 0 0 1-53.077333 53.077333z' data-evernote-id='123' class='js-evernote-checked'%3e%3c/path%3e%3c/svg%3e\\\" style=\\\"box-sizing:border-box;line-height:1;display:inline-block;overflow:hidden;\\\"></img></i></div></div></div><div style=\\\"box-sizing:border-box;display:flex;-webkit-box-align:center;align-items:center;\\\"><a href=\\\"https://www.jianshu.com/nb/3842856\\\" rel=\\\"noopener noreferrer\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;transition:color 0.3s ease 0s;touch-action:manipulation;color:inherit;display:flex;-webkit-box-align:center;align-items:center;cursor:pointer;margin-right:12px;\\\" target=\\\"_blank\\\"><i style=\\\"box-sizing:border-box;display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-0.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-size:16px;\\\"><span style=\\\"color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;font-size:16px;display:none;\\\"></span><img src=\\\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' fill='currentColor' aria-hidden='true' focusable='false' class='js-evernote-checked' data-evernote-id='672'%3e%3cpath d='M178.390055 120.591045C111.268624 120.591045 56.888889 174.401955 56.888889 240.556383V903.97778C56.888889 970.302855 111.097977 1024 178.390055 1024h545.731364c67.121431 0 121.558049-53.81091 121.558049-120.02222V240.613265c0-66.268192-54.209088-120.02222-121.558049-120.02222H178.390055z m455.117432 301.136319H269.06087a30.147761 30.147761 0 0 1 0-60.238641h364.503499a30.147761 30.147761 0 0 1 0 60.238641z m303.18409 301.136318a30.318409 30.318409 0 0 1-30.375291-30.318409V180.317742c0-66.268192-53.81091-120.02222-121.330519-120.022219H329.697688a30.147761 30.147761 0 0 1 0-60.23864l454.946784 0.056882C885.326618 0.113765 967.009987 80.887013 967.009987 180.602155v511.943118a30.318409 30.318409 0 0 1-30.31841 30.318409z m-303.18409-120.47728H269.06087a30.147761 30.147761 0 1 1 0-60.238641h364.503499a30.147761 30.147761 0 0 1 0 60.238641z' data-evernote-id='134' class='js-evernote-checked'%3e%3c/path%3e%3c/svg%3e\\\" style=\\\"box-sizing:border-box;line-height:1;display:inline-block;overflow:hidden;\\\"></img></i><span style=\\\"box-sizing:border-box;margin-left:8px;\\\">技术实践</span></a><div style=\\\"box-sizing:border-box;display:flex;-webkit-box-align:center;align-items:center;\\\"><div style=\\\"box-sizing:border-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:40px;height:40px;color:rgb(150, 150, 150);border:1px solid rgb(238, 238, 238);border-radius:50%;font-size:18px;cursor:pointer;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-0.125em;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;\\\"><span style=\\\"color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;display:none;\\\"></span><img src=\\\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' fill='currentColor' aria-hidden='true' focusable='false' class='js-evernote-checked' data-evernote-id='678'%3e%3cpath d='M232.727273 579.87878833C271.28679 579.87878833 302.545455 548.62012233 302.545455 510.06060633 302.545455 471.50108933 271.28679 440.24242433 232.727273 440.24242433 194.167756 440.24242433 162.909091 471.50108933 162.909091 510.06060633 162.909091 548.62012233 194.167756 579.87878833 232.727273 579.87878833ZM512 579.87878833C550.559516 579.87878833 581.818182 548.62012233 581.818182 510.06060633 581.818182 471.50108933 550.559516 440.24242433 512 440.24242433 473.440484 440.24242433 442.181818 471.50108933 442.181818 510.06060633 442.181818 548.62012233 473.440484 579.87878833 512 579.87878833ZM791.272727 579.87878833C829.832243 579.87878833 861.090909 548.62012233 861.090909 510.06060633 861.090909 471.50108933 829.832243 440.24242433 791.272727 440.24242433 752.713211 440.24242433 721.454545 471.50108933 721.454545 510.06060633 721.454545 548.62012233 752.713211 579.87878833 791.272727 579.87878833Z' data-evernote-id='90' class='js-evernote-checked'%3e%3c/path%3e%3c/svg%3e\\\" style=\\\"box-sizing:border-box;line-height:1;display:inline-block;overflow:hidden;\\\"></img></i></div></div></div></div><div style=\\\"box-sizing:border-box;width:100%;height:1px;margin:16px 0px;background-color:rgb(238, 238, 238);margin-top:24px;margin-bottom:24px;\\\"></div><div style=\\\"box-sizing:border-box;display:block;\\\"><div style=\\\"box-sizing:border-box;display:flex;\\\"><div style=\\\"box-sizing:border-box;display:flex;flex-basis:50%;-webkit-box-flex:1;flex-grow:1;-webkit-box-align:center;align-items:center;overflow:hidden;padding-right:20px;\\\"><a href=\\\"https://www.jianshu.com/u/81e0e836de5e\\\" rel=\\\"noopener noreferrer\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:inherit;\\\" target=\\\"_blank\\\"><img src=\\\"使用印象笔记 python sdk 从模板创建每日日记_files/webp\\\" type=\\\"image/webp\\\" data-filename=\\\"webp\\\" height=\\\"52\\\" style=\\\"box-sizing:border-box;vertical-align:middle;min-width:54px;min-height:54px;width:54px;height:54px;border-radius:50%;border:1px solid rgb(238, 238, 238);\\\" width=\\\"52\\\"/></a><div style=\\\"box-sizing:border-box;-webkit-box-flex:1;flex-grow:1;margin-left:10px;overflow:hidden;\\\"><div style=\\\"box-sizing:border-box;color:rgb(45, 45, 45);font-weight:500;font-size:14px;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;\\\" title=\\\"无关风月只关情\\\"><a href=\\\"https://www.jianshu.com/u/81e0e836de5e\\\" rel=\\\"noopener noreferrer\\\" style=\\\"box-sizing:border-box;text-decoration:none;background-color:rgba(0, 0, 0, 0);outline:none;cursor:pointer;transition:color 0.3s ease 0s;touch-action:manipulation;color:inherit;\\\" target=\\\"_blank\\\">无关风月只关情</a></div><div style=\\\"box-sizing:border-box;color:rgb(150, 150, 150);font-size:12px;\\\"><span style=\\\"box-sizing:border-box;\\\">拥有74钻 (约7.96元)</span></div></div></div><div style=\\\"box-sizing:border-box;display:flex;flex-basis:50%;-webkit-box-flex:1;flex-grow:1;-webkit-box-align:center;align-items:center;overflow:hidden;position:relative;padding-left:20px;\\\"><span style=\\\"position:absolute;width:1px;height:20px;left:0px;background-color:rgb(238, 238, 238);\\\"></span><div style=\\\"box-sizing:border-box;-webkit-box-flex:1;flex-grow:1;overflow:hidden;margin-left:0px;\\\"><div style=\\\"box-sizing:border-box;color:rgb(45, 45, 45);font-weight:500;font-size:14px;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;\\\">&quot;小礼物走一走，来简书关注我&quot;</div></div></div></div></div></div></div></div></div></div></div></div></div>\\\n</div>\\\n</span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":66363}]"
metadata_diff: {"new":{"id":"fdf89a91b8e4432aaf1fa6535d0e5526","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345824893,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:20:18.880Z
created_time: 2025-11-28T16:20:18.880Z
type_: 13