techne/drm.org

28 lines
605 B
Org Mode
Raw Normal View History

2024-09-21 09:50:31 +02:00
#+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