如何在图像src中添加从evernote接收的内容中的特定资源

时间:2016-10-13 12:50:13

标签: python hex evernote

我想将内容中的资源标签映射到从evernote接收的资源。

资源 - 我能够看到从evernote获取的所有资源, 例如:

for r in resources:
    file_content = r.data.body
    file_type = r.mime
    filename = r.attributes.fileName
    hashvalue = r.data.bodyHash 
    //i want this resource to bind to its image tag

HTML -

<html>
<body>
<div>ddkfmdk</div>
<div>
<br/>
</div>
<br/>
<img class="attach_img" src="/images/ef89ec799076f38a6f50b2acd58a5f4f.png"/>
br/>
<img class="attach_img" src="/images/ef011616fa96b4550dae7267ecee68fd.png"/>
</body>
</html>

我们收到来自evernote的资源列表,但我如何将这些资源绑定到特定的图像标签

0 个答案:

没有答案