Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

fix: allow threads and pinterest search sources

Dinakar Sarbada7bda02169db6
diff --git a/skills/last30days/scripts/lib/pipeline.py b/skills/last30days/scripts/lib/pipeline.py
index 30bcbbf6..830f3044 100644
--- a/skills/last30days/scripts/lib/pipeline.py
+++ b/skills/last30days/scripts/lib/pipeline.py
@@ -79,6 +79,8 @@ MOCK_AVAILABLE_SOURCES = [
"xiaohongshu",
"github",
"perplexity",
+ "threads",
+ "pinterest",
"xquik",
"digg",
]
diff --git a/tests/test_cli_v3.py b/tests/test_cli_v3.py
index 48f2dd10..9c7d5060 100644
--- a/tests/test_cli_v3.py
+++ b/tests/test_cli_v3.py
@@ -71,6 +71,12 @@ class CliV3Tests(unittest.TestCase):
cli.parse_search_flag("web, reddit, hn, web"),
)
+ def test_parse_search_flag_accepts_optional_social_sources(self):
+ self.assertEqual(
+ ["threads", "pinterest"],
+ cli.parse_search_flag("threads, pinterest"),
+ )
+
def test_parse_search_flag_rejects_invalid_or_empty_inputs(self):
with self.assertRaises(SystemExit):
cli.parse_search_flag("unknown")