Python 3.12.4
This script retrieves the latest tweets containing "pump.fun" links using the twikit API, incorporating custom filters to identify potential pumps.
- Searches for tweets containing specific keywords ("pump.fun/", "pump", "wallet").
- Filters tweets based on:
- User verification status (blue verified badge).
- Minimum number of followers.
- Presence of "pump.fun" links and/or Solana addresses.
- Plays an alert sound when a relevant tweet is found.
-
Install required libraries:
pip install twikit httpx termcolor
-
Run
login.py:- This script logs in to Twitter using your credentials (replace placeholders with your actual username, email, and password) and saves the cookies to
cookies.json.
- This script logs in to Twitter using your credentials (replace placeholders with your actual username, email, and password) and saves the cookies to
-
Run
SearchTweets.py:- This script loads the saved cookies, searches for tweets based on the defined criteria, and displays the filtered tweets along with their relevant information (links, addresses, etc.).
- Make sure you have Python 3.12.4 installed.
- Clone this repository.
- Update the placeholders in
login.pywith your Twitter credentials. - Run
python login.pyto generatecookies.json. - Run
python SearchTweets.pyto start the tweet monitoring process.
Note: The script includes a mechanism to handle Twitter's rate limits. If you encounter a rate limit error, the script will wait for the reset time before continuing.

