This commit is contained in:
Mikachu2333
2025-10-01 14:13:32 +08:00
committed by 曾奥然
parent 14be64fc1d
commit 4bea910d4d

View File

@@ -18,7 +18,9 @@ pl_python_speed_url_constructor (const char *url, const char *user_data)
{
char *str = xy_str_delete_suffix (url, "/simple");
str = xy_2strcat (str, "/packages/fa/80/eb88edc2e2b11cd2dd2e56f1c80b5784d11d6e6b7f04a1145df64df40065/opencv_python-4.12.0.88-cp37-abi3-win_amd64.whl");
str = xy_str_gsub (str, "pypi-packages/packages", "pypi-packages");// 针对 Sjtug
if (strstr (url, "mirror.sjtu.edu.cn"))
str = xy_str_gsub (str, "pypi-packages/packages", "pypi-packages");// 针对 Sjtug
return str;
}