【实例简介】
完整python项目,可以自己运行。利用python爬虫 爬取今日头条后台数据。然后使用flask框架 实现自己的后台 ,通过爬虫获取 今日头条数据。html实现前端 显示数据。网站UI一级界面自己实现,仿照今日头条网站
【实例截图】
【核心代码】
ATodatNews
└── ATodatNews
├── dist
│ ├── cookie.txt
│ ├── static
│ │ ├── css
│ │ │ ├── global.css
│ │ │ └── home_css.css
│ │ ├── images
│ │ │ ├── guanggao.png
│ │ │ ├── logo.png
│ │ │ └── navi_bar.png
│ │ └── js
│ │ └── md5.js
│ ├── templates
│ │ ├── home.html
│ │ └── newfile.html
│ └── toutiao.exe
└── src
├── mySpider
│ ├── __init__.py
│ ├── __init__.pyc
│ ├── Main.py
│ ├── NewsModel.py
│ ├── NewsModel.pyc
│ ├── NewSpider.py
│ ├── NewSpider.pyc
│ ├── Type.py
│ └── Type.pyc
└── myWeb
├── cookie.txt
├── __init__.py
├── __init__.pyc
├── static
│ ├── css
│ │ ├── global.css
│ │ └── home_css.css
│ ├── images
│ │ ├── guanggao.png
│ │ ├── logo.png
│ │ └── navi_bar.png
│ └── js
│ └── md5.js
├── templates
│ ├── home.html
│ └── newfile.html
├── webApp.py
└── webApp.pyc
15 directories, 32 files