Compare commits
No commits in common. "dce5236b1f23c048b10f8532cfaef2321f512789" and "1c5303898d62a07c5cf06c9244511843a91fa4d2" have entirely different histories.
dce5236b1f
...
1c5303898d
18
README.md
18
README.md
@ -1,20 +1,2 @@
|
|||||||
# audible-converter
|
# audible-converter
|
||||||
|
|
||||||
## Setup
|
|
||||||
|
|
||||||
Install [FFmpeg](https://ffmpeg.org/download.html) and [jq](https://stedolan.github.io/jq/download/)
|
|
||||||
|
|
||||||
### Fedora
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo dnf install ffmpeg jq
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
1. Download audiobook from Audible in .aax format.
|
|
||||||
2. Run the following command
|
|
||||||
```sh
|
|
||||||
./audible-converter.sh [Path to Audiobook file]
|
|
||||||
```
|
|
||||||
3. A converted file will be saved in the current directory.
|
|
||||||
|
2
audible-converter.sh
Executable file → Normal file
2
audible-converter.sh
Executable file → Normal file
@ -7,7 +7,7 @@ function getHash() {
|
|||||||
|
|
||||||
# getActivationBytes returns the bytes needed to decrypt a given hash.
|
# getActivationBytes returns the bytes needed to decrypt a given hash.
|
||||||
function getActivationBytes() {
|
function getActivationBytes() {
|
||||||
json=$(curl -A 'audible-converter' https://aax.api.j-kit.me/api/v2/activation/${1})
|
json=$(curl -A 'Christian Colglazier' https://aax.api.j-kit.me/api/v2/activation/${1})
|
||||||
echo $(echo $json | jq '.activationBytes' | tr -d '"')
|
echo $(echo $json | jq '.activationBytes' | tr -d '"')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user