diff --git a/app/__pycache__/routes.cpython-36.pyc b/app/__pycache__/routes.cpython-36.pyc index 00c65bcf41605bfe30af88b5d1aeda3788c34629..c7737956b92324aa3281a05d666a7cf197e2a9aa 100644 Binary files a/app/__pycache__/routes.cpython-36.pyc and b/app/__pycache__/routes.cpython-36.pyc differ diff --git a/app/routes.py b/app/routes.py index 47dd1ccfb57b0c7b5f48a414904b8eb3b25ec911..c780f79aab89220786c2c22309bda7ac4186aa71 100644 --- a/app/routes.py +++ b/app/routes.py @@ -9,3 +9,8 @@ def index(): "msg": "后台传递信息" } return render_template('index.html', title="梦想橡皮擦", item=item) + + +@app.route('/bt') +def bt(): + return render_template('bt.html') \ No newline at end of file diff --git a/app/static/images/l1.png b/app/static/images/l1.png new file mode 100644 index 0000000000000000000000000000000000000000..0a3193633f5db7b9ddab9b3a123ce4a05d5c2e95 Binary files /dev/null and b/app/static/images/l1.png differ diff --git a/app/static/images/l2.png b/app/static/images/l2.png new file mode 100644 index 0000000000000000000000000000000000000000..0cba065e3e9cd252d7f5ee7089f71b19d1869427 Binary files /dev/null and b/app/static/images/l2.png differ diff --git a/app/static/images/l3.png b/app/static/images/l3.png new file mode 100644 index 0000000000000000000000000000000000000000..c86b5bbfbb19fabf9d494aaf749c0ea001ea44a7 Binary files /dev/null and b/app/static/images/l3.png differ diff --git a/app/templates/bt.html b/app/templates/bt.html new file mode 100644 index 0000000000000000000000000000000000000000..20a8b088273bd5d9a0efb37ab506be34b4073516 --- /dev/null +++ b/app/templates/bt.html @@ -0,0 +1,301 @@ + + + + + + BT 组件展示,爬虫训练场,版权:梦想橡皮擦 + + + + + + +
+ + + + + + +
+ + + + +
+
博客卡片
+
下载卡片
+
学习卡片
+
社区卡片
+
+
+ + + + + + + + + + + +
+ + + + + + + + + +
+ + + + +
+ + + + + +
+
+ + + +
+ +
+ + + +
+
+
+
+
+
+
40%
+
+ +
+
+
+ 空闲 +
+
+ 告警 +
+
+ 危险 +
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+ + + + +
+ + +
+ + +
+ + + + + +
+
+ 第一项 + 第二项 + 第三项 +
+ + + + +
+
+ +
+
第一个爬虫项目
+

最普通的爬虫,点击进入是一些学校清单展示

+ 点击进入 +
+ ... +
+ +
+
基础的卡片
+
+ + +
+
+
页眉
+
内容
+ +
+ +
+ +
+ + + +
+ + + \ No newline at end of file diff --git a/app/templates/index.html b/app/templates/index.html index f9f5ec4a8d39a440e3b6f4b5133908b057383cf6..ee31899b0c79c54b8ad6880bab3ebbda87480d42 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -8,13 +8,289 @@ + -
- - - +
+

普通爬虫

+
+
+
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+
+
+ +
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+ +
+ +
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+ +
+
+ +
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+ +
+
+
+

普通爬虫

+
+
+
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+
+
+ +
+
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+
+ +
+ +
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+ +
+
+ +
+
+

单页爬虫

+
+
+

单独一个网页数据展示,可直接采集,单独一个网页数据展示,可直接采集

+ +
+ +
+ +
+
+
+ +
+
+

爬虫训练场 Copyright © 梦想橡皮擦

+ +
+ \ No newline at end of file diff --git a/playground.py b/playground.py index 2f0eab2b4fda4dab3e7f55c553fbeb3867c06716..7971f1e7ad1d9f68bb9e1e21a4b973c7c5e602c3 100644 --- a/playground.py +++ b/playground.py @@ -1,4 +1,6 @@ from app import app +# app.jinja_env.auto_reload = True +app.config['TEMPLATES_AUTO_RELOAD'] = True if __name__ == '__main__': app.run(host='0.0.0.0', port=8888)