Add a visual control panel for the crawler, supporting customization of topics and parameter configuration.

This commit is contained in:
戒酒的李白
2025-02-23 23:30:54 +08:00
parent 20a5be7aeb
commit 1180f285a0
4 changed files with 639 additions and 0 deletions
+2
View File
@@ -99,8 +99,10 @@ app.secret_key = 'this is secret_key you know ?' # 设置 Flask 的密钥,用
# 导入蓝图
from views.page import page
from views.user import user
from views.spider_control import spider_bp
app.register_blueprint(page.pb) # 注册页面蓝图
app.register_blueprint(user.ub) # 注册用户蓝图
app.register_blueprint(spider_bp) # 注册爬虫控制蓝图
# 首页路由,清空 session
@app.route('/')