[toc] 近期开始学习python爬虫,熟悉了基本库、解析库之后,决定做个小Demo来实践下,检验学习成果。 1 本篇目标 抓取猫眼电影总排行榜Top100电影单 根据电影演员表统计演员上榜次数 2 url分析 目标站点为 ,打开之后就可以看到排行榜信息,如图所示 页面上显示10部电影,有名次、影 ...
分类:
编程语言 时间:
2019-09-04 11:50:37
阅读次数:
163
安装clipboard.js github路径:https://github.com/zenorocha/clipboard.js 安装: npm install clipboard save 引入clipboard.js ...
分类:
Web程序 时间:
2019-09-03 14:49:21
阅读次数:
121
1.前端代码 前端的html、css、js代码,利用打包工具生成dist文件夹,放入lighttpd的指定目录。 2.cgi中间件 1)编译 1.下载代码工程V100R100C00 2.将工程代码以共享文件夹的形式共享 3.进入编译目录:V100R100C00/board/NVR/build 4.执 ...
分类:
其他好文 时间:
2019-09-02 22:14:32
阅读次数:
179
联想 Y7000 安装 Ubuntu18 为了方便使用自己这两天花了点时间在联想Y7000中安装了Ubuntu双系统,下面记录一下安装过程遇到的一些问题和解决办法。 系统安装 官网上下载最新的 Ubuntu18 系统,为了使用优盘安装 Ubuntu,需要先进入 bios 关闭 security bo ...
分类:
系统相关 时间:
2019-09-02 09:54:48
阅读次数:
815
xib 加载自定义View UIView *view = [[NSBundle mainBundle] loadNibNamed:@"MyView" owner:self options:nil][0]; xib 加载自定义控制器 UIViewController *vc = [[ViewContr... ...
分类:
移动开发 时间:
2019-08-28 13:19:49
阅读次数:
181
Web MQTT Board – diagnostic oriented MQTT 5.0 client tool based on mqtt.js. Available in open source. MQTT over websockets (experimental) – from the m ...
分类:
其他好文 时间:
2019-08-24 00:30:53
阅读次数:
127
[爬虫Demo] pyquery+csv爬取猫眼电影top100 [TOC] 站点分析 https://maoyan.com/board/4?offset=0 翻页操作只会改变offset偏移量,每部电影的信息都在dd标签内,使用pyquery库中的css选择器直接解析页面 代码君 css选择器直接 ...
分类:
其他好文 时间:
2019-08-22 13:30:32
阅读次数:
111
1、编辑(Editing) Ctrl + Space 基本的代码完成(类、方法、属性) Ctrl + Alt + Space 快速导入任意类 Ctrl + Shift + Enter 语句完成 Ctrl + P 参数信息(在方法中调用参数) Ctrl + Q 快速查看文档 F1 Web帮助文档主页 ...
分类:
其他好文 时间:
2019-08-20 01:19:32
阅读次数:
72
问题 E: Plug It In! 题目描述 Adam just moved into his new apartment and simply placed everything into it at random. This means in particular that he did not ...
分类:
其他好文 时间:
2019-08-19 12:58:17
阅读次数:
75