This project automates the process of staying informed about the latest economic news. It uses web scraping to gather news articles from CNBC, leverages a Hugging Face API to summarize the content with AI, cleans the summarized text, and then sends a concise news digest via email.
- Automated News Aggregation: Scrapes economic news from predefined or user-specified web sources.
- AI-Powered Summarization: Utilizes Hugging Face's NLP models to generate concise and relevant summaries of news articles.
- Text Cleaning: Implements text processing techniques to refine the summaries, removing unnecessary characters or formatting for better readability.
- Email Notifications: Delivers the cleaned summaries directly to your inbox, providing a convenient way to stay updated.
- Configurable: (Optional: Add this if you plan to make it configurable) Allows users to customize news sources, summarization parameters, and email settings.
- Web Scraping: The system fetches the latest economic news articles from CNBC/Economy.
- Content Extraction: Relevant text content is extracted from the scraped web pages.
- AI Summarization: The extracted text is sent to a Hugging Face API endpoint, where a pre-trained language model generates a summary.
- Text Cleaning: The generated summary undergoes a cleaning process to ensure clarity and remove any artifacts from the summarization or scraping process.
- Email Dispatch: The final, cleaned summary is formatted and sent as an email to the configured recipient(s).
Contributions are welcome! If you have suggestions for improvements or want to contribute code, please feel free to:
- Fork the Project
- Create your Feature Branch
- Commit your Changes
- Push to the Branch
- Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
- Hugging Face for their incredible NLP models and API.