Give your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Python agent-infrastructureai-agentai-searchautomationbilibiliclaude-codeclicursorfree-apillm-toolsmcppythonreddit-scrapertwitter-scraperweb-scraperxiaohongshuyoutube-transcript
fix: use encoding='utf-8' with errors='replace' for bird subprocess calls
Panniantong31eb6db537c5
diff --git a/agent_reach/channels/twitter.py b/agent_reach/channels/twitter.pyindex 0e1d9ecd..87b0a845 100644--- a/agent_reach/channels/twitter.py+++ b/agent_reach/channels/twitter.py@@ -60,7 +60,8 @@ class TwitterChannel(Channel):async def _read_bird(self, url: str, bird: str, config=None) -> ReadResult:result = subprocess.run([bird, "read", url],- capture_output=True, text=True, timeout=30,+ capture_output=True, timeout=30,+ encoding='utf-8', errors='replace',env=_bird_env(config),)if result.returncode != 0:@@ -147,7 +148,8 @@ class TwitterChannel(Channel):try:result = subprocess.run([bird, "search", query, "-n", str(limit)],- capture_output=True, text=True, timeout=30,+ capture_output=True, timeout=30,+ encoding='utf-8', errors='replace',env=_bird_env(config),)if result.returncode != 0: