From 7ea32e1c4d95bb38c66ba585007ee63886ceb293 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Sat, 21 Sep 2024 02:50:31 -0500 Subject: [PATCH] Add drm.org --- drm.org | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 drm.org diff --git a/drm.org b/drm.org new file mode 100644 index 0000000..618dbc2 --- /dev/null +++ b/drm.org @@ -0,0 +1,27 @@ +#+title: DRM + +** Extract PDF or EPUB from ACSM file + +Install libgourou in nix-shell. + +#+BEGIN_SRC shell +nix-shell -p libgourou +#+END_SRC + +Register the device with Adobe username and password. + +#+BEGIN_SRC shell +adept_activate -u user -p password +#+END_SRC + +Download the ACSM file. Make sure the ACSM file is in the current working directory. + +#+BEGIN_SRC shell +acsmdownloader -f Dragon_Age_The_Missing_1.acsm +#+END_SRC + +The downloaded file requires a password to open. Remove the DRM from the files. + +#+BEGIN_SRC shell +find . type -f -name "Dragon_Age_The_Missing*.pdf" -exec adept_remove {} \; +#+END_SRC