Files
Youtube2Feed/app.py
salvacybersec dfa68ba665 debug
2025-11-13 06:37:40 +03:00

31 lines
827 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.DEBUG, # DEBUG modu açıldı - detaylı loglama için
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)