Automated news digest systems for AI, GIS, and Data Science trends.
This repository contains two Python scripts that automatically curate and send email digests:
- Daily AI & GIS Digest - Sends daily articles at 8:00 AM
- Weekly Trends Digest - Sends industry trends every Monday at 8:00 AM
- Python 3.7+
- Gmail account with App Password
- Clone the repository:
git clone https://github.com/GIOVESS/news-scrapers.git
cd news-scrapers- Install dependencies:
pip install -r requirements.txt- Configure your email settings in both scripts:
- Edit
ai_gis_digest.pyandweekly_trends_digest.py - Set your Gmail address and App Password:
EMAIL_ADDRESS = "your.email@gmail.com" EMAIL_PASSWORD = "your-app-password"
- Edit
- Enable 2-Step Verification on your Google Account
- Go to App Passwords
- Generate a new app password for "Mail"
- Use this 16-character password in the scripts
- Schedule: Daily at 8:00 AM
- Content: Curated AI and GIS articles from multiple sources
- Features: Relevance scoring, top 10 articles, HTML formatting
- Schedule: Every Monday at 8:00 AM
- Content: Industry trends and developments in GIS, AI, and Data Science
- Features: Trend detection, impact scoring, professional formatting
- Open Task Scheduler
- Create Basic Task:
- Name:
Daily AI GIS Digest - Trigger: Daily at 8:00 AM
- Action: Start a program
- Program:
python - Arguments:
E:\news-scrapers\ai_gis_digest.py - Start in:
E:\news-scrapers
- Name:
- Open Task Scheduler
- Create Basic Task:
- Name:
Weekly GIS AI Trends - Trigger: Weekly on Mondays at 8:00 AM
- Action: Start a program
- Program:
python - Arguments:
E:\news-scrapers\weekly_trends_digest.py - Start in:
E:\news-scrapers
- Name:
Test each script manually first:
# Test daily digest
python ai_gis_digest.py
# Test weekly trends
python weekly_trends_digest.pyCheck your email to verify the digests are working correctly.
news-scrapers/
├── ai_gis_digest.py # Daily article digest
├── weekly_trends_digest.py # Weekly trends digest
├── requirements.txt # Python dependencies
├── README.md # This file
- SMTP Authentication Error: Verify your App Password is correct
- No Articles Found: Check internet connection and source availability
- Script Stops: Ensure Python is in system PATH
- Check console output for errors
- Scripts print status messages with timestamps
MIT License - feel free to use and modify for your needs.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
Maintainer: Giovanni Bwayo
Portfolio: https://giovannibwayo.site/
# Initialize git (if not already done)
git init
# Add all files
git add .
# Commit changes
git commit -m "Initial commit: Add news scraper scripts and documentation"
# Add remote origin
git remote add origin https://github.com/GIOVESS/news-scrapers.git
# Push to main branch
git branch -M main
git push -u origin main