摘要:
redis版本3.2.100 redis.window.conf 1. requirepass 123456 设置密码 2. # bind 127.0.0.1 3. protected-mode no 4. 高级安全 windows防火墙 -> 入站规则 开放6379端口 阅读全文
摘要:
import requests # 1. headers url = 'https://api.github.com/some/endpoint' headers = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/5 阅读全文
摘要:
#!/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... 阅读全文
摘要:
def plantjs_request(url): desired_capabilities = DesiredCapabilities.PHANTOMJS.copy() # 1. User-Agent desired_capabilities['phantomjs.page.settings.us 阅读全文
摘要:
import requestsfrom lxml import etreeurl = 'https://item.taobao.com/item.htm?spm=a219r.lm893.14.118.238e8d532nCpy9&id=537796877521&ns=1&abbucket=1'res 阅读全文