├── .gitignore ├── README.md ├── README_EN.md ├── app ├── __init__.py ├── analysis │ ├── __init__.py │ ├── predictor │ │ ├── __init__.py │ │ └── predictor.py │ └── trend_analyzer │ │ ├── __init__.py │ │ └── analyzer.py ├── api │ ├── __init__.py │ ├── dependencies.py │ └── v1 │ │ ├── __init__.py │ │ ├── analysis.py │ │ ├── daily_news.py │ │ └── web_tools.py ├── core │ ├── __init__.py │ ├── cache.py │ ├── config.py │ └── db.py ├── data │ └── config │ │ ├── category_keywords.json │ │ └── stopwords.json ├── db │ ├── __init__.py │ ├── models.py │ ├── mysql.py │ └── redis.py ├── main.py ├── services │ ├── __init__.py │ ├── browser_manager.py │ ├── crawler.py │ └── sites │ │ ├── __init__.py │ │ ├── baidu.py │ │ ├── bilibili.py │ │ ├── cls.py │ │ ├── crawler.py │ │ ├── douban.py │ │ ├── douyin.py │ │ ├── eastmoney.py │ │ ├── factory.py │ │ ├── ftpojie.py │ │ ├── github.py │ │ ├── hackernews.py │ │ ├── hupu.py │ │ ├── jinritoutiao.py │ │ ├── juejin.py │ │ ├── models.py │ │ ├── sina_finance.py │ │ ├── sspai.py │ │ ├── stackoverflow.py │ │ ├── tenxunwang.py │ │ ├── tieba.py │ │ ├── tskr.py │ │ ├── vtex.py │ │ ├── weibo.py │ │ ├── weixin.py │ │ ├── xueqiu.py │ │ └── zhihu.py └── utils │ ├── __init__.py │ ├── logger.py │ └── notification.py ├── config └── config.yaml ├── requirements.txt ├── run.py ├── test ├── crawler_test.py └── hackernews_test.py └── tg_bot.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/README.md -------------------------------------------------------------------------------- /README_EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/README_EN.md -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/analysis/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/analysis/__init__.py -------------------------------------------------------------------------------- /app/analysis/predictor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/analysis/predictor/__init__.py -------------------------------------------------------------------------------- /app/analysis/predictor/predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/analysis/predictor/predictor.py -------------------------------------------------------------------------------- /app/analysis/trend_analyzer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/analysis/trend_analyzer/__init__.py -------------------------------------------------------------------------------- /app/analysis/trend_analyzer/analyzer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/analysis/trend_analyzer/analyzer.py -------------------------------------------------------------------------------- /app/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/api/dependencies.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/api/v1/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/api/v1/analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/api/v1/analysis.py -------------------------------------------------------------------------------- /app/api/v1/daily_news.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/api/v1/daily_news.py -------------------------------------------------------------------------------- /app/api/v1/web_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/api/v1/web_tools.py -------------------------------------------------------------------------------- /app/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/core/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/core/cache.py -------------------------------------------------------------------------------- /app/core/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/core/config.py -------------------------------------------------------------------------------- /app/core/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/core/db.py -------------------------------------------------------------------------------- /app/data/config/category_keywords.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/data/config/category_keywords.json -------------------------------------------------------------------------------- /app/data/config/stopwords.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/data/config/stopwords.json -------------------------------------------------------------------------------- /app/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/db/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/db/models.py -------------------------------------------------------------------------------- /app/db/mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/db/mysql.py -------------------------------------------------------------------------------- /app/db/redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/db/redis.py -------------------------------------------------------------------------------- /app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/main.py -------------------------------------------------------------------------------- /app/services/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/__init__.py -------------------------------------------------------------------------------- /app/services/browser_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/browser_manager.py -------------------------------------------------------------------------------- /app/services/crawler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/crawler.py -------------------------------------------------------------------------------- /app/services/sites/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/services/sites/baidu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/baidu.py -------------------------------------------------------------------------------- /app/services/sites/bilibili.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/bilibili.py -------------------------------------------------------------------------------- /app/services/sites/cls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/cls.py -------------------------------------------------------------------------------- /app/services/sites/crawler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/crawler.py -------------------------------------------------------------------------------- /app/services/sites/douban.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/douban.py -------------------------------------------------------------------------------- /app/services/sites/douyin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/douyin.py -------------------------------------------------------------------------------- /app/services/sites/eastmoney.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/eastmoney.py -------------------------------------------------------------------------------- /app/services/sites/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/factory.py -------------------------------------------------------------------------------- /app/services/sites/ftpojie.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/ftpojie.py -------------------------------------------------------------------------------- /app/services/sites/github.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/github.py -------------------------------------------------------------------------------- /app/services/sites/hackernews.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/hackernews.py -------------------------------------------------------------------------------- /app/services/sites/hupu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/hupu.py -------------------------------------------------------------------------------- /app/services/sites/jinritoutiao.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/jinritoutiao.py -------------------------------------------------------------------------------- /app/services/sites/juejin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/juejin.py -------------------------------------------------------------------------------- /app/services/sites/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/models.py -------------------------------------------------------------------------------- /app/services/sites/sina_finance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/sina_finance.py -------------------------------------------------------------------------------- /app/services/sites/sspai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/sspai.py -------------------------------------------------------------------------------- /app/services/sites/stackoverflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/stackoverflow.py -------------------------------------------------------------------------------- /app/services/sites/tenxunwang.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/tenxunwang.py -------------------------------------------------------------------------------- /app/services/sites/tieba.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/tieba.py -------------------------------------------------------------------------------- /app/services/sites/tskr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/tskr.py -------------------------------------------------------------------------------- /app/services/sites/vtex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/vtex.py -------------------------------------------------------------------------------- /app/services/sites/weibo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/weibo.py -------------------------------------------------------------------------------- /app/services/sites/weixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/weixin.py -------------------------------------------------------------------------------- /app/services/sites/xueqiu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/xueqiu.py -------------------------------------------------------------------------------- /app/services/sites/zhihu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/services/sites/zhihu.py -------------------------------------------------------------------------------- /app/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/utils/logger.py -------------------------------------------------------------------------------- /app/utils/notification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/app/utils/notification.py -------------------------------------------------------------------------------- /config/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/config/config.yaml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/requirements.txt -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/run.py -------------------------------------------------------------------------------- /test/crawler_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/test/crawler_test.py -------------------------------------------------------------------------------- /test/hackernews_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/test/hackernews_test.py -------------------------------------------------------------------------------- /tg_bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orz-ai/hot_news/HEAD/tg_bot.py --------------------------------------------------------------------------------