ythx-101/x-tweet-fetcher — reverse-engineered prompt

Reverse engineered prompt

Build me a Python command line tool that can fetch public X or Twitter content without making me log in or use API keys. I want the easy case to work right away for a single tweet URL, and I also want support for reply threads, user timelines, mentions monitoring, keyword search, X lists, long form X articles, and basic WeChat article search.

Please make it smart about how it fetches things. Use a fast simple route first for normal tweet data, and automatically fall back to a browser driven route for harder cases like lists, articles, and anything the simple route cannot handle. The output should be clean structured JSON so an AI agent can use it directly, and it should return sensible exit codes for cron style monitoring.

It should run well on Mac, Windows, Linux, and headless servers. Keep the simple path as close to zero setup as possible, and make the richer path available when browser support is installed. Add a clear README with example commands. If you need to, look up current docs online.

Want more depth? Deep Reverse