Add drm.org

This commit is contained in:
Jeffrey Serio 2024-09-21 02:50:31 -05:00
parent e83d4e01b9
commit 7ea32e1c4d

27
drm.org Normal file
View File

@ -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