动态加载的数据 例子1:爬取豆瓣电影中的电影详情数据 url:https://movie.douban.com/ 1.什么是动态加载的数据: 我们通过requests模块进行数据爬取无法每次都是可见即可得,有些数据是通过非浏览器地址栏中得url请求到的地址。而是其他请求请求到的数据,那么这些通过其他 ...
分类:
其他好文 时间:
2020-04-12 20:52:27
阅读次数:
99
一 、django 本地项目部署uwsgi 1 本地部署项目 uwsgi安装测试 通过uwsgi 进行简单部署 安装uwsgi命令:pip install uwsgi -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 提 ...
分类:
其他好文 时间:
2020-04-10 11:58:58
阅读次数:
69
数据可视化1.matplotlibMatplotlib可能是Python2D-绘图领域使用最广泛的套件。它能让使用者很轻松地将数据图形化,并且提供多样化的输出格式。这里将会探索matplotlib的常见用法。安装matplotibpipinstall-ihttps://pypi.douban.com/simple/matplotlib测试matplotib$python>>>im
分类:
编程语言 时间:
2020-04-10 10:40:52
阅读次数:
102
最近学习 JSON 想获取,豆瓣的电影top250电影榜,来练习,练习。 结果输入地址: http://api.douban.com/v2/movie/top25 {"msg":"invalid_apikey, Please contact bd-team@douban.com for author ...
pip install django i http://pypi.douban.com/simple trusted host pypi.douban.com 豆瓣 :http://pypi.douban.com/simple/ 阿里 :http://mirrors.aliyun.com/pypi/ ...
分类:
编程语言 时间:
2020-04-05 22:03:55
阅读次数:
100
阿里云 https://mirrors.aliyun.com/pypi/simple/ 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ 豆瓣(douban) https://pypi.douban.com/simple/ 中国科学技术大学 https:/ ...
分类:
编程语言 时间:
2020-04-05 18:36:20
阅读次数:
134
1 <?xml version="1.0" encoding="UTF-8"?> 2 <entry xmlns="http://www.w3.org/2005/Atom" xmlns:db="http://www.douban.com/xmlns/" xmlns:gd="http://schemas ...
在是使用pip安装的时候总是超时 换源 豆瓣:http://pypi.douban.com/simple/ 清华:https://pypi.tuna.tsinghua.edu.cn/simple 临时使用: 可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.ed ...
分类:
编程语言 时间:
2020-03-29 01:32:39
阅读次数:
107
使用python虽然导入库非常方便,但有时也会碰到许多的问题。下载速度有时候很慢。在网上找来了一个关于将python的pip调成寻找国内镜像的方法。 国内镜像地址: http://pypi.douban.com/simple/ 豆瓣 http://mirrors.aliyun.com/pypi/si ...
分类:
编程语言 时间:
2020-03-28 16:18:32
阅读次数:
85
豆瓣电影top250url:https://movie.douban.com/top250?start=0&filter= 首先f12进入检查CTRL +shift +c定位到标题 可以看到电影标题在<a>标签下,所以我们只要定位到a标签下就可以了,我们找到<a>标签的最上一级标签<div>标签属性 ...
分类:
其他好文 时间:
2020-03-27 21:18:29
阅读次数:
66