Skip to main content

DeGourou (DeDRM + libgourou)

Automate the process of getting decrypted ebook from InternetArchive without the need for Adobe Digital Editions and Calibre.


News

  • Now You can use this on Replit without worrying about the integrity/security or any other dependencies of this tool, but you need to know the usage so read the examples below

  • I have implemented this in a Telegram Bot, where you can send ACSM file and get a Decrypted file back and also explore other sites for ebooks


Disclaimer

This tool is intended for educational purposes only. Its primary aim is to assist users in understanding certain concepts and techniques. I, as the creator of this tool, do not endorse, encourage, or support any illegal activities, including piracy, copyright infringement, or unauthorized distribution of copyrighted materials. The tool should be used responsibly and in compliance with all applicable laws and regulations. Users are solely responsible for any actions they take using this tool, and I disclaim any liability or responsibility for such actions. Please respect intellectual property rights and use this tool responsibly and for legitimate purposes only.


Things you need

  • ACSM file from the book page you borrowded from Internet Archive
  • Adobe Account (optional) (dummy account recommended)
  • InternetArchive Account (optional)
  • Python v3.x.x Installed with pip (not required for normal users)

Usage

usage: DeGourou [-h] [-f [F]] [-u [U]] [-t [T]] [-o [O]] [-la] [-li] [-e [E]] [-p [P]] [-lo]

Download and Decrypt an encrypted PDF or EPUB file.

optional arguments:
  -h, --help  show this help message and exit
  -f [F]      path to the ACSM file
  -u [U]      book url from InternetArchive
  -t [T]      book file type/format/extension for book url (defaults to PDF)
  -o [O]      output file name
  -la         login to your ADE account.
  -li         login to your InternetArchive.
  -e [E]      email/username
  -p [P]      password
  -lo         logout from all

Guide

By default it uses dummy account for ADE, you can also use your own account

For Normal Users

  1. Download binary file according to your operating system from Releases Section

  2. Run the binary according to operating system

    A. Windows user's can just open Command Prompt and use based on the USAGE

    B. Linux user's need to change the file permission and then can run

    chmod 777 DeGourou-linux
    ./DeGourou-linux
    

    Make sure you have installed openssl by using the command

    sudo apt-get install libssl-dev
    

    C. MacOS user's accordingly with name DeGourou.bin

For Middlemans

  1. Install through Pip using
pip install git+https://gitea.com/bipinkrish/DeGourou.git
  1. Use degourou in Terminal/CMD

For Developers

  1. Clone the repositary or Download zip file and extract it
  2. Install requirements using pip
  3. Run "DeGourou.py" file in "DeGourou" directory
git clone https://gitea.com/bipinkrish/DeGourou.git
cd DeGourou
pip install -r requirements.txt
cd DeGourou
python DeGourou.py

Examples

  • Loging in your InternetArchive account

.\DeGourou-windows.exe -li -e abc@email.com -p myemailpassword
  • To download from URL (only if your are logged in):

.\DeGourou-windows.exe -u https://archive.org/details/identifier
  • To download from ACSM file

.\DeGourou-windows.exe -f URLLINK.acsm

Advices


Credits

This project is based on the following projects:


ACSM Input Plugin for Calibre - Copyright (c) 2021-2023 Leseratte10
ACSM Input Plugin for Calibre - Copyright (c) 2021-2023 Leseratte10
ACSM Input Plugin for Calibre / acsm-calibre-plugin
Formerly known as "DeACSM"
Copyright (c) 2021-2023 Leseratte10

This software is based on a Python reimplementation of the C++ library 
"libgourou" by Grégory Soutadé which is under the LGPLv3 or later 
license (http://indefero.soutade.fr/p/libgourou/).

I have no idea whether a reimplementation in another language counts 
as "derivative use", so just in case it does, I'm putting this project 
under the GPLv3 (which is allowed in the LGPLv3 license) to prevent any 
licensing issues. 

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

See the "LICENSE" file for a full copy of the GNU GPL v3.

========================================================================

libgourou:
Copyright 2021 Grégory Soutadé

This file is part of libgourou.

libgourou is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

libgourou is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with libgourou. If not, see <http://www.gnu.org/licenses/>.

Metadata

Release files for DeGourou 1.3.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DeGourou 1.3.9
File Size Uploaded Provenance
DeGourou-1.3.9.tar.gz 75.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for DeGourou 1.3.9
File Interpreter ABI Platform
DeGourou-1.3.9-py3-none-any.whl Python 3 none any Details

Total release size: 154.3 kB

Release files / DeGourou-1.3.9.tar.gz

Download URL DeGourou-1.3.9.tar.gz
Size 75.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d0b6eb7a9ead023bde8f5266e803aa33ace7cbb11c1952fe1558ca667bbae9c8
BLAKE2b-256 checksum
How to use checksums
d1b40280d7aa60c0fe4279ee3334bcc6c3e3464418b9b0e2702daabcea2d7d5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.8.19

Release files / DeGourou-1.3.9-py3-none-any.whl

Download URL DeGourou-1.3.9-py3-none-any.whl
Size 78.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ff0a0a8ec1b0f2e8e1900eabc7f6a80dadc5833d53b839c904165ee38fda282
BLAKE2b-256 checksum
How to use checksums
df02688968a9f65b941fc0bf93ac9edb160091cb3c519b792f725646ef99682a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.8.19

Security for DeGourou 1.3.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page