Compare commits
2 Commits
1c5303898d
...
dce5236b1f
Author | SHA1 | Date | |
---|---|---|---|
dce5236b1f | |||
0b04064550 |
18
README.md
18
README.md
@ -1,2 +1,20 @@
|
||||
# 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
Normal file → Executable file
2
audible-converter.sh
Normal file → Executable file
@ -7,7 +7,7 @@ function getHash() {
|
||||
|
||||
# getActivationBytes returns the bytes needed to decrypt a given hash.
|
||||
function getActivationBytes() {
|
||||
json=$(curl -A 'Christian Colglazier' https://aax.api.j-kit.me/api/v2/activation/${1})
|
||||
json=$(curl -A 'audible-converter' https://aax.api.j-kit.me/api/v2/activation/${1})
|
||||
echo $(echo $json | jq '.activationBytes' | tr -d '"')
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user