-
Notifications
You must be signed in to change notification settings - Fork 0
Authentication
To download content at Premium quality (AAC 256kbps, FLAC, 24-bit FLAC), Dotify needs two things:
- Spotify session cookies — proves you're logged in to a Premium account
-
Widevine Device key (
.wvd) — used to decrypt DRM-protected audio streams
Without these, Dotify falls back to the highest available free quality (128kbps AAC).
| Browser | Extension |
|---|---|
| Chrome / Edge | "Get cookies.txt LOCALLY" |
| Firefox | "Export Cookies" add-on |
- Open open.spotify.com in your browser.
- Log in with your Premium account.
- Click the extension icon and export cookies as
cookies.txt. - Save the file to
~/.dotify/cookies.txt.
Option A — Command-line flag:
dotify --cookies-path ~/.dotify/cookies.txt "spotify:track:..."
Option B — Set it once in config.json (recommended):
{
"cookies_path": "~/.dotify/cookies.txt"
}
Tip: If cookies expire, you'll get a
403 Forbiddenerror. Re-export fresh cookies from an incognito window and replace the file.
Spotify uses Widevine DRM to protect its audio streams. To decrypt them, Dotify needs a Widevine Device file (.wvd) extracted from a real Android device.
KeyDive is the recommended tool for extracting a .wvd from an Android device (physical or emulated).
- Follow the KeyDive setup instructions.
- Run KeyDive on your Android device to extract the Widevine keys.
- This produces a
device.wvdfile. - Place it at
~/.dotify/keys/device.wvd.
Option A — Command-line flag:
dotify --wvd-path ~/.dotify/keys/device.wvd "spotify:track:..."
Option B — Set it once in config.json (recommended):
{
"wvd_path": "~/.dotify/keys/device.wvd"
}
Run the environment doctor after placing both files:
dotify env doctor
It will confirm that both cookies.txt and device.wvd are correctly detected.
Dotify works without any credentials — it will just download at the highest available free quality (128kbps AAC). You only need cookies and a .wvd if you want Premium-tier audio.
To download content at Premium quality (AAC 256kbps, FLAC, 24-bit FLAC), Dotify needs two things:
- Spotify session cookies — proves you're logged in to a Premium account
-
Widevine Device key (
.wvd) — used to decrypt DRM-protected audio streams
Without these, Dotify falls back to the highest available free quality (128kbps AAC).
| Browser | Extension |
|---|---|
| Chrome / Edge | "Get cookies.txt LOCALLY" |
| Firefox | "Export Cookies" add-on |
- Open [open.spotify.com](https://open.spotify.com) in your browser.
- Log in with your Premium account.
- Click the extension icon and export cookies as
cookies.txt. - Save the file to
~/.dotify/cookies.txt.
Option A — Command-line flag:
dotify --cookies-path ~/.dotify/cookies.txt "spotify:track:..."Option B — Set it once in config.json (recommended):
{
"cookies_path": "~/.dotify/cookies.txt"
}Tip: If cookies expire, you'll get a
403 Forbiddenerror. Re-export fresh cookies from an incognito window and replace the file.
Spotify uses Widevine DRM to protect its audio streams. To decrypt them, Dotify needs a Widevine Device file (.wvd) extracted from a real Android device.
Using KeyDive
KeyDive is the recommended tool for extracting a .wvd from an Android device (physical or emulated).
- Follow the [KeyDive setup instructions](https://github.com/hyugogirubato/KeyDive).
- Run KeyDive on your Android device to extract the Widevine keys.
- This produces a
device.wvdfile. - Place it at
~/.dotify/keys/device.wvd.
Option A — Command-line flag:
dotify --wvd-path ~/.dotify/keys/device.wvd "spotify:track:..."Option B — Set it once in config.json (recommended):
{
"wvd_path": "~/.dotify/keys/device.wvd"
}Run the environment doctor after placing both files:
dotify env doctorIt will confirm that both cookies.txt and device.wvd are correctly detected.
Dotify works without any credentials — it will just download at the highest available free quality (128kbps AAC). You only need cookies and a .wvd if you want Premium-tier audio.