Files
Youtube2Feed/app.py
salvacybersec 01f9cfc8b2 log all
2025-11-13 05:16:12 +03:00

31 lines
777 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env python3
"""
Flask Web Server - RSS-Bridge benzeri URL template sistemi
"""
import logging
import sys
from datetime import datetime
# Logging konfigürasyonu
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s | %(levelname)-8s | %(name)s | %(message)s',
datefmt='%Y-%m-%d %H:%M:%S',
handlers=[
logging.StreamHandler(sys.stdout)
]
)
# Flask ve werkzeug loglarını azalt
logging.getLogger('werkzeug').setLevel(logging.WARNING)
logging.getLogger('flask').setLevel(logging.WARNING)
from src.web_server import app
if __name__ == '__main__':
logging.info("=" * 60)
logging.info("YouTube Transcript RSS Feed Generator başlatılıyor...")
logging.info("=" * 60)
app.run(host='0.0.0.0', port=5000, debug=False)