diff --git a/.github/workflows/magisk.yml b/.github/workflows/magisk.yml index 7d58d5c..17a279a 100644 --- a/.github/workflows/magisk.yml +++ b/.github/workflows/magisk.yml @@ -265,17 +265,17 @@ jobs: if: ${{ matrix.arch == 'x64' && github.event.inputs.gapps_variant == 'full' && github.event.inputs.gapps_version == '12.1' }} shell: python run: | - import requests import os + import urllib.request - link = "https://peternjeim.ddns.net:8081/ipfs/Qmbh8NKAtiaYSgXHj7GTXMcU2AqxCp3jof31Gneffr8XNi?filename=gapps.zip" + link = "http://peternjeim.ddns.net:8081/ipfs/Qmbh8NKAtiaYSgXHj7GTXMcU2AqxCp3jof31Gneffr8XNi" print(f"downloading link: {link}", flush=True) out_file = "gapps.zip" if not os.path.isfile(out_file): - requests.get(link) + urllib.request.urlretrieve(link, out_file) print("done", flush=True) - name: Extract GApps and expand images