From 963bddb29b7c17babfe15fbbef6d9c03b5129202 Mon Sep 17 00:00:00 2001 From: ReaJason Date: Mon, 29 Apr 2024 14:48:22 +0000 Subject: [PATCH] deploy: 112242eeaeb0e2a3ee0261edd75e5dbd9d1f9edf --- .buildinfo | 2 +- _modules/index.html | 2 +- _modules/xhs/core.html | 5 +++-- _static/documentation_options.js | 2 +- basic.html | 2 +- crawl.html | 2 +- creator.html | 2 +- genindex.html | 2 +- index.html | 2 +- search.html | 2 +- source/xhs.html | 2 +- 11 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.buildinfo b/.buildinfo index 5009e08..52b7d84 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 5ae79e63350fcd1e74f5f7eec225c239 +config: 9d86aeee5336904230edfe4485c1d1af tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/_modules/index.html b/_modules/index.html index 35eacf7..95459eb 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -5,7 +5,7 @@ - 概览:模块代码 — xhs 0.2.12 文档 + 概览:模块代码 — xhs 0.2.13 文档 diff --git a/_modules/xhs/core.html b/_modules/xhs/core.html index 2c15f77..282996f 100644 --- a/_modules/xhs/core.html +++ b/_modules/xhs/core.html @@ -5,7 +5,7 @@ - xhs.core — xhs 0.2.12 文档 + xhs.core — xhs 0.2.13 文档 @@ -144,7 +144,7 @@

xhs.core 源代码

             "Chrome/111.0.0.0 Safari/537.36"
         )
         self.__session.headers = {
-            "user-agent": user_agent,
+            "user-agent": self.user_agent,
             "Content-Type": "application/json",
         }
         self.cookie = cookie
@@ -191,6 +191,7 @@ 

xhs.core 源代码

             data = response.json()
         except json.decoder.JSONDecodeError:
             return response
+        print(data)
         if response.status_code == 471 or response.status_code == 461:
             # someday someone maybe will bypass captcha
             verify_type = response.headers['Verifytype']
diff --git a/_static/documentation_options.js b/_static/documentation_options.js
index 0e42c37..4f08d51 100644
--- a/_static/documentation_options.js
+++ b/_static/documentation_options.js
@@ -1,6 +1,6 @@
 var DOCUMENTATION_OPTIONS = {
     URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
-    VERSION: '0.2.12',
+    VERSION: '0.2.13',
     LANGUAGE: 'zh_CN',
     COLLAPSE_INDEX: false,
     BUILDER: 'html',
diff --git a/basic.html b/basic.html
index 81f24c2..ff87bed 100644
--- a/basic.html
+++ b/basic.html
@@ -5,7 +5,7 @@
   
     
     
-    快速入门 — xhs 0.2.12 文档
+    快速入门 — xhs 0.2.13 文档
     
     
     
diff --git a/crawl.html b/crawl.html
index 53e521c..a774176 100644
--- a/crawl.html
+++ b/crawl.html
@@ -5,7 +5,7 @@
   
     
     
-    主页爬取 — xhs 0.2.12 文档
+    主页爬取 — xhs 0.2.13 文档
     
     
     
diff --git a/creator.html b/creator.html
index b836d31..ca94635 100644
--- a/creator.html
+++ b/creator.html
@@ -5,7 +5,7 @@
   
     
     
-    笔记发布 — xhs 0.2.12 文档
+    笔记发布 — xhs 0.2.13 文档
     
     
     
diff --git a/genindex.html b/genindex.html
index 87612d9..e3dff55 100644
--- a/genindex.html
+++ b/genindex.html
@@ -5,7 +5,7 @@
   
     
     
-    索引 — xhs 0.2.12 文档
+    索引 — xhs 0.2.13 文档
     
     
     
diff --git a/index.html b/index.html
index 2ef6d05..6b6e440 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,7 @@
   
     
     
-    介绍 — xhs 0.2.12 文档
+    介绍 — xhs 0.2.13 文档
     
     
     
diff --git a/search.html b/search.html
index 1007ff7..90790c1 100644
--- a/search.html
+++ b/search.html
@@ -5,7 +5,7 @@
   
     
     
-    搜索 — xhs 0.2.12 文档
+    搜索 — xhs 0.2.13 文档
     
     
     
diff --git a/source/xhs.html b/source/xhs.html
index c7063fc..024aa9a 100644
--- a/source/xhs.html
+++ b/source/xhs.html
@@ -5,7 +5,7 @@
   
     
     
-    Documentation — xhs 0.2.12 文档
+    Documentation — xhs 0.2.13 文档