This repository provides a toolset for scraping Twitter data and generating prompts using OpenAI and Hugging Face models. It includes user authentication, license verification, and customizable prompt generation.
- Twitter Scraping: Scrapes Twitter data based on user-provided queries.
- Prompt Generation: Generates search prompts using OpenAI and Hugging Face models.
- License Verification: Ensures valid licenses for accessing premium and standard features.
- User Authentication: Secure login and registration system.
- Clone the repository:
git clone https://github.com/rahulkher/webdatascrapper.git cd <your-project-directory>
- Install the required dependencies:
pip install -r requirements.txt
- Create a
.envfile in the root directory and add your environment variables:TWITTER_USERNAME=your_twitter_username TWITTER_PASSWORD=your_twitter_password OPENAI_API_KEY=your_openai_api_key HUGGINGFACE_API_KEY=your_huggingface_api_key
- Navigate to the project directory:
cd your-repo - Run the main application script:
python app.py
- Start the Flask application:
python app_run.py
- Open your web browser and navigate to
http://127.0.0.1:5000/.
__pycache__
app
__pycache__
__init__.py
models.py
routes.py
instance
site.db
scrappers
__pycache__
helpers
__init__.py
checklicense.py
generate_license.py
prompts.py
scrappers.py
templates
base.html
index.html
login.html
prompt.html
register.html
LICENSE
README.md
app.py
app_run.py
license.lic
requirements.txt
twitter_scrapper.ipynb
Release Date: [Insert Date]
- Initial Release: This version includes the core features such as Twitter scraping, prompt generation using OpenAI and Hugging Face, license verification, and user authentication.
Tagging Suggestions:
- Prefix your version names with the letter
v. For example:v1.0.0orv2.3.4. - For pre-release versions, add a pre-release label. For example:
v0.2.0-alphaorv5.9-beta.3.
Semantic Versioning:
- Follow semantic versioning principles to ensure clear and predictable version management.
Contributions are welcome! Please create a pull request with a detailed description of your changes.
This project is licensed under the MIT License.