Commit 099c83b1 authored by litaolemo's avatar litaolemo

update

parent f0d16182
......@@ -274,6 +274,9 @@ def push_data_to_user(res_data: Dict) -> Dict:
if "http://t.cn/" in res_data["title"]:
res_data["title"] = res_data["title"].split("http://t.cn/")[0]
res_data["content"] = res_data["title"]
if qiniu_img_list:
for img_url in qiniu_img_list:
res_data["title"] = res_data["title"] + '<img src="%s">' % img_url
elif res_data["platform"] == "douban":
content = res_data.get("content")
if content:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment