20250126.1737921969

This commit is contained in:
fz0x1 2025-01-26 21:06:09 +01:00
parent 9968632e62
commit 5a0ffd895a

View file

@ -409,6 +409,14 @@ def export():
sys.exit("Export canceled.")
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"]
content = shlex.quote(memo["content"].replace(f"#{tag}", "").strip())