20250126.1737921969
This commit is contained in:
parent
9968632e62
commit
5a0ffd895a
1 changed files with 8 additions and 0 deletions
|
@ -409,6 +409,14 @@ def export():
|
||||||
sys.exit("Export canceled.")
|
sys.exit("Export canceled.")
|
||||||
|
|
||||||
for memo in memos:
|
for memo in memos:
|
||||||
|
# attachments part
|
||||||
|
# memo_info = fetch_data(f"{Config.memo_url}/api/v1/{memo['name']}", headers)
|
||||||
|
# # check if there are resources
|
||||||
|
# if "resources" in memo_info:
|
||||||
|
# for resource in memo_info["resources"]:
|
||||||
|
# memo_resources = fetch_data(
|
||||||
|
# f"{Config.memo_url}/api/v1/resources:by-uid/{resource['uid']}"
|
||||||
|
# )
|
||||||
create_time = memo["createTime"]
|
create_time = memo["createTime"]
|
||||||
content = shlex.quote(memo["content"].replace(f"#{tag}", "").strip())
|
content = shlex.quote(memo["content"].replace(f"#{tag}", "").strip())
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue