Compare commits

...
2 Commits
Author SHA1 Message Date
huyue 94e69646b0 Merge branch 'hy-dev' into dev
Deploy / Build and deploy (push) Successful in 7s
2026-05-13 13:26:44 +08:00
huyueandClaude Opus 4.7 6469a5a713 fix(twitter): 纯文本推文不入库,只保留带图/视频的
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 13:26:39 +08:00
+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():