# Flask框架+Python爬虫+ECharts+BootStrap+WordCloud搭建数据可视化网页 **Repository Path**: liangliangattack/flask_movie ## Basic Information - **Project Name**: Flask框架+Python爬虫+ECharts+BootStrap+WordCloud搭建数据可视化网页 - **Description**: 内含几种常用的爬虫技术(笔记),把豆瓣电影相关数据爬下来,储存至sqlite,结合Flask框架、ECharts、BootStrap、WordCloud制作一个简易电影数据可视化网页。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 12 - **Created**: 2024-03-05 - **Last Updated**: 2024-03-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 豆瓣电影数据可视化 · [![Gitee license](https://img.shields.io/github/license/observer-l/NFU-Guide-Map)](https://github.com/Observer-L/NFU-Guide-Map/blob/master/LICENSE) [![test](https://img.shields.io/badge/platform-PyCharm-green)]() [![GitHub stars](https://img.shields.io/github/stars/observer-l/NFU-Guide-Map)](https://gitee.com/picky-xxx/flask_movie/stargazers) 使用几种常用的爬虫技术(内含爬虫笔记以及每个步骤的测试代码),把豆瓣电影相关数据爬下来,储存至sqlite,结合Flask框架、ECharts、BootStrap、WordCloud制作一个简易电影数据可视化网页。 **Flask框架 + ECharts + BootStrap + WordCloud + sqlite** 项目开源,欢迎 Star⭐️! ## ⚡️ 功能 - [x] 电影目录 - [x] 评分统计图 - [x] 词频统计 - [x] 团队成员介绍 - [ ] 添加喜爱电影 ## 📋 使用指南 1.爬取数据部分 ```js ├─── pachong ├─ .idea …… ├─ test …… // 爬虫测试 ├─ venv …… ├─ movie.db // 豆瓣电影数据库 ├─ Spider.py // 爬取豆瓣电影数据 ├─ 豆瓣电影Top250.xls // 豆瓣电影excel表格 ``` 2.static ```js ├─── static ├── assets ├─ css …… ├─ img …… ├─ js …… ├─ vendor …… ``` 3.模板引擎 ```js ├─── templates ├─ clouds.html // 词云 ├─ index.html // 首页 ├─ movie.html // 电影目录 ├─ score.html // 评分统计 ├─ team.html // 团队 ├─ test.html //测试 ``` 4.渲染引擎 ```js ├─── app.py ``` ## 🔩 使用说明 - 需要下载的插件: py插件 - 更换镜像: https://pypi.mirrors.ustc.edu.cn/simple/ - 使用时运行app.py打开http://127.0.0.1:5000/ ## 📄 使用软件 PyCharm 2020.1.3 ## 📷 内容说明 - 首页(index.html) 可以点击右上角的导航栏,也可以点击四个小方块跳转到对应的页面 ![电影首页](https://gitee.com/pic_bed/picture-bed-1/raw/master/20201027193632.png) - 电影目录(movie.html) ![电影目录](https://gitee.com/pic_bed/picture-bed-1/raw/master/20201027194633.png) - 评分统计(score.html) ![电影统计图](https://gitee.com/pic_bed/picture-bed-1/raw/master/20201027214101.gif) - 词频统计(clouds.html) ![词频统计](https://gitee.com/pic_bed/picture-bed-1/raw/master/20201027195133.png) - 团队介绍(team.html) ![电影团队](https://gitee.com/pic_bed/picture-bed-1/raw/master/20201027214114.png)