04 2020 档案

摘要:1、Http与Https的区别 1. https协议需要用到CA(Certificate Authority,证书颁发机构)申请证书,一般免费证书较少,因而需要一定费用 2. http是超文本传输协议,信息是明文传输,https则是具有安全性的ss加密传输协议。 3. http和https使用的是完 阅读全文
posted @ 2020-04-26 23:54 智、心 阅读(199) 评论(0) 推荐(0)
摘要:1、reduce() 函数会对参数序列中元素进行累积。 reduce() 函数语法: reduce(function, iterable[, initializer]) 例: 阅读全文
posted @ 2020-04-06 00:11 智、心 阅读(125) 评论(0) 推荐(0)
摘要:```python from bs4 import BeautifulSoup from urllib import request import threading import re import os from lxml import html class SpiderCategory(threading.Thread): #继承父类threading.Thread def __init__ 阅读全文
posted @ 2020-04-05 23:38 智、心 阅读(135) 评论(0) 推荐(0)