akshare-proxy-patch 0.2.10__tar.gz → 0.2.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of akshare-proxy-patch might be problematic. Click here for more details.
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/PKG-INFO +1 -1
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/akshare_proxy_patch/__init__.py +2 -1
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/akshare_proxy_patch.egg-info/PKG-INFO +1 -1
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/pyproject.toml +1 -1
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/setup.py +1 -1
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/LICENSE +0 -0
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/README.md +0 -0
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/akshare_proxy_patch.egg-info/SOURCES.txt +0 -0
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/akshare_proxy_patch.egg-info/dependency_links.txt +0 -0
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/akshare_proxy_patch.egg-info/requires.txt +0 -0
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/akshare_proxy_patch.egg-info/top_level.txt +0 -0
- {akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/setup.cfg +0 -0
|
@@ -61,8 +61,9 @@ def install_patch(auth_ip, auth_token, retry=30):
|
|
|
61
61
|
]
|
|
62
62
|
)
|
|
63
63
|
is_js = urlparse(url or "").path.lower().endswith(".js")
|
|
64
|
+
is_html = urlparse(url or "").path.lower().endswith(".html")
|
|
64
65
|
|
|
65
|
-
if not is_target or is_js:
|
|
66
|
+
if not is_target or is_js or is_html:
|
|
66
67
|
return _original_request(self, method, url, **kwargs)
|
|
67
68
|
|
|
68
69
|
auth_url = f"http://{auth_ip}:47001/api/akshare-auth"
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="akshare-proxy-patch", # 包名,用户 pip install 时的名称
|
|
8
|
-
version="0.2.
|
|
8
|
+
version="0.2.11",
|
|
9
9
|
author="cheapproxy.net",
|
|
10
10
|
author_email="emezxyj1@gmail.com",
|
|
11
11
|
description="AkShare 和 efinance 报错全局Hook",
|
|
File without changes
|
|
File without changes
|
{akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/akshare_proxy_patch.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/akshare_proxy_patch.egg-info/requires.txt
RENAMED
|
File without changes
|
{akshare_proxy_patch-0.2.10 → akshare_proxy_patch-0.2.11}/akshare_proxy_patch.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|