This project is a Twitter scraper built using Python and MongoDB to collect tweets from the Twitter API and organize the data efficiently. This README file provides an overview of the project, installation instructions, and usage guidelines.
To set up the Twitter Scraper project, follow the steps below:
- Clone the repository to your local machine:
git clone https://github.com/Humza-Aa/Twitter_Scraper
-
Navigate to the project directory: cd twitter_Scraper
-
Install the required dependencies using
pip
: pip install -r requirements.txt (WIP) -
Install and configure MongoDB on your system. You can download MongoDB from the official website: https://www.mongodb.com/
-
Create a Twitter account and create an application https://developer.twitter.com/
-
Update the Twitter API credentials in the file.
The Twitter Scraper provides a command-line interface (CLI) for interacting with the scraper. Follow the instructions below to use the scraper effectively:
-
Open a terminal and navigate to the project directory.
-
Run the scraper: Python Twitter-Scraper.py
Contributions to the Twitter Scraper project are welcome. If you find any bugs, have feature requests, or want to contribute enhancements, please follow the steps below:
-
Fork the repository.
-
Create a new branch
-
Make your modifications and commit your changes
-
Push your branch to your forked repository
-
Open a pull request on the original repository.