This repository contains a Python script designed to scrape trending hashtags from trends24.in. The script generates hashtags based on these trends, with an option to filter for English-only trends. It ensures that the generated hashtags comply with Twitter's character limits, making it a handy tool for social media managers, marketers, and enthusiasts looking to enhance their Twitter engagement.
You can download the latest version of the script from the Releases section.
- Scrapes Trending Topics: Gathers trending topics from trends24.in.
- Generates Hashtags: Converts trends into hashtags.
- English-Only Filtering: Option to filter trends for English language.
- Character Limit Compliance: Ensures hashtags fit within Twitter's character limits.
- Easy to Use: Simple command-line interface for quick access.
To install the script, follow these steps:
-
Clone the Repository:
git clone https://github.com/OMOR-SURVIVOR/Twitter-Trending-Hashtags-Scraper-Python.git cd Twitter-Trending-Hashtags-Scraper-Python -
Install Dependencies: Make sure you have Python 3.6 or higher installed. You can install the required libraries using pip:
pip install -r requirements.txt
-
Download the Script: You can download the latest version of the script from the Releases section.
To run the script, use the following command in your terminal:
python scraper.py --english-only--english-only: Scrapes only English trending topics.--all: Scrapes all trending topics regardless of language.
The script will output a list of hashtags like this:
#Trend1
#Trend2
#Trend3
You can easily copy these hashtags for use on Twitter.
We welcome contributions to improve this project. If you have suggestions or enhancements, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes.
- Submit a pull request.
Please ensure your code follows the existing style and includes tests where applicable.
This project is licensed under the MIT License. See the LICENSE file for details.
For any issues or questions, please check the Releases section for updates or open an issue in the repository.
Feel free to explore the code and contribute to this project! Your feedback is valuable.

