Open WaytrueDeng opened 1 year ago
First of all I am not really sure that this would work. Since this was made with only the official url in mind. If you still want to try...
the format is https://archlinux.org/packages/{repo}/{arch}/{pkg}/download
. The values inside {} will be replaced on runtime. {repo}
will be replaced with the repository(community, extra etc.), {arch}
will be replaced with the architecture of the system (ie. x86_64) and {pkg}
will be replaced with the package name. You can use these variables to build a url for your local mirror. The response of this must be a package file.
Hi thanks for your incredible work, I am living in China, The official mirror is too slow, I try to change it to local mirror but failed