Skip to content

Instantly share code, notes, and snippets.

Archive.org Scanned Book Downloader Bookmarklet

A simple "1-click" javascript approach to downloading a scanned book from archive.org to read at your leisure on the device of your choosing w/out having to manually screenshot every pages of the book by hand. In short it's a glorified "Save Image As..." approach but consolidated down to "1 click". BTW there may be a much better option than this out there - I just built this as an autistic project to see if it would work.

Demo Video

Archive.org SBDL Demo

Obligatory Legal/Disclaimer:

By using this script you agree to delete all book files/images after your 1 hour or 14 days is up! I don't support using this script for any other use cases. After all, none of us have ever kept a library book past it's return date, right?

# Configuration file
~CONFIG_VERSION: 1
modules {
B:conarmIntegration=true
B:plusticIntegration=true
B:sootIntegration=true
B:tcomplementchiselIntegration=true
B:tcomplementexnihiloIntegration=true
mods.botania.Apothecary.addRecipe(<minecraft:pumpkin>, [<minecraft:potion>.withTag({Potion: "minecraft:water"}).giveBack(<minecraft:glass_bottle>), <ore:dyeOrange>, <minecraft:slime_ball>]);
Error that I get:
java.lang.IllegalArgumentException: Invalid input
at vazkii.botania.api.recipe.RecipePetals.<init>(RecipePetals.java:34)
at com.blamejared.compat.botania.handlers.Apothecary.addRecipe(Apothecary.java:36)
at Recipes.__script__(recipes.zs:1)
at __ZenMain__.run(Recipes)
at crafttweaker.runtime.CrTTweaker.loadScript(CrTTweaker.java:240)
at crafttweaker.runtime.CrTTweaker.loadScript(CrTTweaker.java:105)