INNER CODE UNIT · Python

main

zillionare/zillionare · scripts/enhanced_news_crawler.py:479

def main():
    """主函数"""
    try:
        crawler = EnhancedNewsCrawler("rss.yaml")
        crawler.run()
    except KeyboardInterrupt:
        logger.info("Interrupted by user")
    except Exception as e:
        logger.error(f"Unexpected error: {e}")
        sys.exit(1)


if __name__ == "__main__":
    main()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…