摘要: 解压 tar zxvf filename.tar.gz python setup.py install 手动安装 装miniconda2 "简书" 。 "miniconda镜像" pip install i https://pypi.tuna.tsinghua.edu.cn/simple 急速安装 阅读全文
posted @ 2018-06-10 14:56 Jneeee 阅读(190) 评论(0) 推荐(0) 编辑
摘要: "echartmap使用实例" "pyecharts官方文档" 要地图表一定要装好3个额外的地图包。要画中国地图一定要世界地图,要画省份地图一定要中国地图包 pip install echarts countries pypkg pip install echarts china provinces 阅读全文
posted @ 2018-06-09 17:07 Jneeee 阅读(907) 评论(0) 推荐(0) 编辑
摘要: KV数据库Redis "linux 安装Redis" 阅读全文
posted @ 2018-06-09 16:36 Jneeee 阅读(265) 评论(0) 推荐(0) 编辑
摘要: error 10006 code 使用如下代码一直报10006错误,我起初以为是weibo封锁了接口。查百度发现有人说是appkey过期,过期是不可能的,我的key是当天申请的。 {"error":"source paramter(appkey) is missing","error_code":1 阅读全文
posted @ 2018-05-25 10:24 Jneeee 阅读(1311) 评论(0) 推荐(0) 编辑
摘要: 整体框架 使用国内能访问的某国外 app angine 爬取Jay的 Instagram 并显示,再使用国内的 sae 访问这个网站,再爬取一次并发送到微博小号。 bs4 使用requests爬取 Instagram 时候,并没有加request header,Instagram 对 robot 还 阅读全文
posted @ 2018-05-22 15:24 Jneeee 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: layout: post title: sae部署bilibili爬虫 categories: python tags: spider sae 前端效果 sae准备工作 从本地上传的爬虫到sae一直被提示没有requests模块,在requirements.txt里声明了也不行。起初我以为是这个第三 阅读全文
posted @ 2018-04-17 15:54 Jneeee 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 非阻塞式的 requests.post 学习 最近遇到个问题:使用 fiddler 抓包某应用,发现它的心跳线为两个基本同时的 post 。仅 post 一次会没反应。因此学习如何使两个post同时进行。 try except 首先我想到的使用try except,发现不可行:try : post( 阅读全文
posted @ 2018-04-09 15:34 Jneeee 阅读(1696) 评论(0) 推荐(0) 编辑
摘要: requests 学习 用requests可以做一个功能完整强大的爬虫。用webide平台可以帮我直接测试它,非常方便重要学习参考 Requests 的一些高级特性。ubantu 14.0安装requests的步骤 sudo apt-get install python-pip pip instal 阅读全文
posted @ 2018-03-30 09:57 Jneeee 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 踩坑wxpython - pythonGUI 这是我用的第二个 GUI,第一个是 tkinter ,因为最近装不上了所以只好学习 wxpython 。 第一个坑 error: The wx.App object must be created first! 这是因为IDLE是用Tkinker开发的, 阅读全文
posted @ 2018-03-28 09:42 Jneeee 阅读(1206) 评论(0) 推荐(0) 编辑
摘要: 选择器 css里有三种选择器(定位到具体元素的语法) 1 标签选择器 article { margin-bottom: 40px; } 如上,直接写出article就是标签选择器。对应的html为<article>content</article>。 2 class选择 .sitename { fl 阅读全文
posted @ 2018-03-14 17:02 Jneeee 阅读(239) 评论(0) 推荐(0) 编辑