Skip to content

Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.

fix: handle curly quotes in Twitter Jina fallback detection

Panniantong2d1b8658b691
diff --git a/agent_reach/channels/twitter.py b/agent_reach/channels/twitter.py
index d72d975c..35d3459a 100644
--- a/agent_reach/channels/twitter.py
+++ b/agent_reach/channels/twitter.py
@@ -73,10 +73,10 @@ class TwitterChannel(Channel):
# Detect unusable Jina responses for X/Twitter (JS-required pages)
unusable_indicators = [
- "this page doesn't exist",
- "Don't miss what's happening",
+ "page doesn", # "this page doesn't exist" (handles both ' and ')
+ "miss what", # "Don't miss what's happening"
"Something went wrong. Try reloading",
- "Log in</a>",
+ "Log in](", # Markdown link: [Log in](...)
]
if any(indicator in text for indicator in unusable_indicators):
return ReadResult(