上一页 1 ··· 3 4 5 6 7
摘要: redis版本3.2.100 redis.window.conf 1. requirepass 123456 设置密码 2. # bind 127.0.0.1 3. protected-mode no 4. 高级安全 windows防火墙 -> 入站规则 开放6379端口 阅读全文
posted @ 2017-11-07 14:18 人微言轻1 阅读(151) 评论(0) 推荐(0) 编辑
摘要: import requests # 1. headers url = 'https://api.github.com/some/endpoint' headers = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/5 阅读全文
posted @ 2017-11-03 15:33 人微言轻1 阅读(389) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python# -*-coding:utf-8-*- """@author: yugengde@contact: yugengde@163.com@file : Threading.py@time: 2017/11/5 21:09"""import requestsfrom multiprocessing import Poolurls = []for i in ran... 阅读全文
posted @ 2017-10-31 01:22 人微言轻1 阅读(152) 评论(0) 推荐(0) 编辑
摘要: def plantjs_request(url): desired_capabilities = DesiredCapabilities.PHANTOMJS.copy() # 1. User-Agent desired_capabilities['phantomjs.page.settings.us 阅读全文
posted @ 2017-10-31 01:22 人微言轻1 阅读(267) 评论(0) 推荐(0) 编辑
摘要: import requestsfrom lxml import etreeurl = 'https://item.taobao.com/item.htm?spm=a219r.lm893.14.118.238e8d532nCpy9&id=537796877521&ns=1&abbucket=1'res 阅读全文
posted @ 2017-10-31 01:21 人微言轻1 阅读(1619) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7