如何从HTML表单消息/数据中提取文件/附件?

2024-04-27 01:05:02 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在创建活动,即邮件.活动在odoo中带有一些附件,但是当我创建活动时,我的活动是以HTML格式创建的。你知道吗

<html><p><img class="img-fluid o_we_custom_image" src="undefined?access_token=9dd94d60-651f-4832-8cf0-26bc70330138" title=""><a href="/web/content/288?access_token=9dd94d60-651f-4832-8cf0-26bc70330138&amp;unique=5d8a7b0d2393d51df422782ad0daea40c123b12f&amp;download=true" class="o_image o_we_selected_image" title="index.html"></a> <br></p></html>

在上面的HTML中,我的附件是索引.html如何获取或如何获取该文件。你知道吗


Tags: odooimagetokenimg附件accesstitlehtml