diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-04-11 19:58:08 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-04-11 19:58:08 +0200 |
commit | cff89b58107028829ab2c8cb2f7a39c20cd9c4c3 (patch) | |
tree | a2dddf2eb3aaea0ffc2b070d4f41d2563abf6763 /src/main.rs | |
parent | 705a543dbf21a2ec6b16012cfd7d2f2fd0afc861 (diff) |
download raw files instead of html wrapper
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index f742db2..2d4fef2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,7 +29,7 @@ fn main() -> anyhow::Result<()> { let mut file = File::create(fw)?; let url = format!( - "https://github.com/raspberrypi/firmware/blob/{}/boot/{}", + "https://github.com/raspberrypi/firmware/blob/{}/boot/{}?raw=true", FIRMWARE_VERSION, fw ); let mut resp = reqwest::blocking::get(url)?.error_for_status()?; |