Add Backblaze Driver (#32)

* Backblaze Driver

* Update action to work with new tests

* Fix minor issues

* Run Formatter + Switch to reqwest json parser
This commit is contained in:
Geometrically
2020-07-02 05:00:04 -07:00
committed by GitHub
parent 6d16b68f11
commit 91305262f1
20 changed files with 253 additions and 97 deletions

View File

@@ -65,10 +65,7 @@ pub async fn index_curseforge(
let text = &res.text().await?;
let curseforge_mods: Vec<CurseForgeMod> = serde_json::from_str(text)?;
let mut max_index = 0;
for curseforge_mod in curseforge_mods {
max_index = curseforge_mod.id;
if curseforge_mod.game_slug != "minecraft"
|| !curseforge_mod.website_url.contains("/mc-mods/")
{