- Increased Instagram rate limit from 100 to 200 posts/hour - Reduced delays: 10-20s (was 15-30s), extended breaks 30-60s (was 60-120s) - Extended break interval: every 10 requests (was 5) - Updated capture targets: 1000 posts for Instagram, 1000 videos for TikTok - Added production deployment and monitoring scripts - Created environment configuration template This provides ~40-50% speed improvement for Instagram scraping and captures 5x more Instagram content and 3.3x more TikTok content. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
59 lines
No EOL
1.5 KiB
Text
59 lines
No EOL
1.5 KiB
Text
# HVAC Know It All - Production Environment Variables
|
|
# Copy to /opt/hvac-kia-content/.env and update with actual values
|
|
|
|
# WordPress Configuration
|
|
WORDPRESS_USERNAME=your_wordpress_username
|
|
WORDPRESS_API_KEY=your_wordpress_api_key
|
|
WORDPRESS_BASE_URL=https://hvacknowitall.com
|
|
|
|
# YouTube Configuration
|
|
YOUTUBE_CHANNEL_URL=https://www.youtube.com/@HVACKnowItAll
|
|
YOUTUBE_API_KEY=your_youtube_api_key_optional
|
|
|
|
# Instagram Configuration
|
|
INSTAGRAM_USERNAME=your_instagram_username
|
|
INSTAGRAM_PASSWORD=your_instagram_password
|
|
|
|
# TikTok Configuration
|
|
TIKTOK_TARGET=@hvacknowitall
|
|
|
|
# MailChimp RSS Configuration
|
|
MAILCHIMP_RSS_URL=https://us10.campaign-archive.com/feed?u=d1a98c3e62003104038942e21&id=2205dbf985
|
|
|
|
# Podcast RSS Configuration
|
|
PODCAST_RSS_URL=https://hvacknowitall.com/podcast/feed/
|
|
|
|
# NAS and Storage Configuration
|
|
NAS_PATH=/mnt/nas/hvacknowitall
|
|
DATA_DIR=/opt/hvac-kia-content/data
|
|
LOGS_DIR=/opt/hvac-kia-content/logs
|
|
|
|
# Timezone Configuration
|
|
TIMEZONE=America/Halifax
|
|
|
|
# Monitoring and Health Checks
|
|
HEALTHCHECK_URL=optional_healthcheck_ping_url
|
|
MONITORING_ENABLED=true
|
|
MONITORING_PORT=8080
|
|
|
|
# Email Notifications (optional)
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
SMTP_USERNAME=your_email@gmail.com
|
|
SMTP_PASSWORD=your_app_password
|
|
ALERT_EMAIL=alerts@hvacknowitall.com
|
|
|
|
# Production Settings
|
|
ENVIRONMENT=production
|
|
DEBUG=false
|
|
LOG_LEVEL=INFO
|
|
|
|
# Rate Limiting and Performance
|
|
MAX_WORKERS=3
|
|
REQUEST_DELAY=1
|
|
MAX_RETRIES=3
|
|
|
|
# Security
|
|
USER_AGENT_ROTATION=true
|
|
RESPECT_ROBOTS_TXT=true
|
|
RATE_LIMIT_ENABLED=true |