index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-05-02 17:52:04 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-05-02 17:52:04 +0200 |
commit | 3a5a05e470d95d028a1a1e897ccba89bcc232ec0 (patch) | |
tree | b2d42d4506ec554609ba901fb2cb8a089cec44fa /archinstall/lib/mirrors.py | |
parent | bc34f6d371dfbeb4624ee4245a6cc0bdba1a3f7b (diff) |
-rw-r--r-- | archinstall/lib/mirrors.py | 4 |
diff --git a/archinstall/lib/mirrors.py b/archinstall/lib/mirrors.py index 73921cef..e4917f5e 100644 --- a/archinstall/lib/mirrors.py +++ b/archinstall/lib/mirrors.py @@ -65,7 +65,7 @@ def filter_mirrors_by_region(regions :str, :type regions: str """ region_list = [f'country={region}' for region in regions.split(',')] - response = urllib.request.urlopen(urllib.request.Request(f"https://archlinux.org/mirrorlist/?{'&'.join(region_list)}&protocol=https&protocol=http&ip_version=4&ip_version=6&use_mirror_status=on'", headers={'User-Agent': 'ArchInstall'})) + response = urllib.request.urlopen(urllib.request.Request(f"https://archlinux32.org/mirrorlist/?{'&'.join(region_list)}&protocol=https&protocol=http&ip_version=4&ip_version=6&use_mirror_status=on'", headers={'User-Agent': 'ArchInstall'})) new_list = response.read().replace(b"#Server", b"Server") if sort_order: @@ -144,7 +144,7 @@ def re_rank_mirrors( def list_mirrors(sort_order :List[str] = ["https", "http"]) -> Dict[str, Any]: - url = "https://archlinux.org/mirrorlist/?protocol=https&protocol=http&ip_version=4&ip_version=6&use_mirror_status=on" + url = "https://archlinux32.org/mirrorlist/?protocol=https&protocol=http&ip_version=4&ip_version=6&use_mirror_status=on" regions = {} try: |