From af392315468e9f15976ea6e70159f516242c221c Mon Sep 17 00:00:00 2001 From: g1879 Date: Mon, 25 Jan 2021 20:50:21 +0800 Subject: [PATCH] update README.zh-cn.md. --- README.zh-cn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.zh-cn.md b/README.zh-cn.md index 612e610..4fb0e43 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -925,7 +925,7 @@ so.cookies = ['key1=val1; domain=xxxx', 'key2=val2; domain=xxxx'] # 设置 cook so.headers = {'User-Agent': 'xxxx', 'Accept-Charset': 'xxxx'} so.set_a_header('Connection', 'keep-alive') -drission = Drission(session_options=so) # 用配置对象创建 Drission 对象 +drission = Drission(session_or_options=so) # 用配置对象创建 Drission 对象 page = MixPage(session_options=so) # 用配置对象创建 MixPage 对象 so.save() # 保存当前打开的 ini 文件