会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
衡石李
博客园
首页
新随笔
联系
订阅
管理
2019年9月16日
koa + Puppeteer 登录百度云盘并上传文件
摘要: /** * Created by Warren on 2019/9/16. */const puppeteer = require("puppeteer");exports.loginFn = async ctx =>{ const browser = await puppeteer.launch(
阅读全文
posted @ 2019-09-16 17:17 衡石李
阅读(704)
评论(0)
推荐(0)
2018年11月12日
笔趣阁小说爬虫
摘要: var https=require('https');var fs = require('fs'); //文件模块var iconv = require('iconv-lite');var cheerio = require('cheerio');// 章节目录页面地址https.get('http
阅读全文
posted @ 2018-11-12 17:25 衡石李
阅读(878)
评论(0)
推荐(0)
2018年10月19日
QQ音乐爬虫(NodeJs)
摘要: 一、创建一个文件夹 例如我创建在D:\code\qq-music 在文件目录打开cmd 在cmd中执行 npm init 项目初始化 然后安装一些工具包: npm i request -s npm i querystring -s 在目录下创建一个Music的文件夹用于存储下载的音乐文件 二、直接上
阅读全文
posted @ 2018-10-19 22:39 衡石李
阅读(1430)
评论(3)
推荐(0)
2018年10月16日
nginx 部署单页应用并启用Gzip
摘要: http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status
阅读全文
posted @ 2018-10-16 10:27 衡石李
阅读(476)
评论(0)
推荐(0)
linux Mysql 安装
摘要: 一、wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm二、sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm三、yum install -y mysql-se
阅读全文
posted @ 2018-10-16 10:23 衡石李
阅读(110)
评论(0)
推荐(0)
2018年6月14日
百度地图的一些操作
摘要: (function () { // 自定义覆盖物 var ComplexCustomOverlay = function (params, mapFn) { this._point = params.point; this.params = params; this._data = params.p
阅读全文
posted @ 2018-06-14 10:31 衡石李
阅读(1173)
评论(0)
推荐(0)
2018年5月31日
Angularjs Table
摘要: /** * @author Warren Lee * @Dec Angularjs 表格组件 * @Date 2018-05-25 * **/(function () { 'use strict'; /** * 定义模块名 */ var ngTableWL = angular.module('ngT
阅读全文
posted @ 2018-05-31 14:00 衡石李
阅读(1017)
评论(0)
推荐(0)
2018年3月22日
liunx安装mongodb
摘要: 第一,下载安装包 安装包我是在官网找的,直接下载速度很慢,至于原因我也不清楚。我意外的发现使用迅雷下载很快就下完了。 地址 : https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel62-3.6.3.tgz 第二,上传到服务器 我用的SS
阅读全文
posted @ 2018-03-22 10:30 衡石李
阅读(141)
评论(0)
推荐(0)
公告