fix(twitter): 纯文本推文不入库,只保留带图/视频的

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-13 13:26:39 +08:00
co-authored by Claude Opus 4.7
parent ef6c30bc37
commit 6469a5a713
+2 -1
View File
@@ -544,7 +544,8 @@ class XTwitterScraper:
elif images:
media_kind = "photo"
else:
media_kind = "text"
# 纯文本(无图无视频)推文不要,主站只要带媒体的
return
title = ""
for line in (text or "").splitlines():