3 Post‐Installation Setup
Salehin Ashfi edited this page 2025-07-15 04:49:56 +06:00

Post-Installation Setup

This is the most critical part. Dotify needs your authentication cookies and decryption keys to function.

1. The cookies.txt File

Dotify needs to authenticate with Spotify using your account's browser cookies.

  • How to get it: Use a browser extension to export your cookies in the "Netscape" format.

    • FirefoxExport Cookies

    • How to use it:

    • Easy way: Place the exported file in the same directory you run Dotify from and name it exactly cookies.txt.

      • Alternative: You can place it anywhere and specify the location with the --cookies-path /path/to/your/cookies.txt argument.

2. The .wvd File (For Encrypted Content)

A .wvd file is required to decrypt AAC songs and all videos. It contains Widevine DRM keys from a device.

  • How to get it: The most reliable method is using KeyDive to extract keys from a physical Android device. Keys from emulators may not work.

    • How to use it:

    • Easy way: Place the file in the same directory you run Dotify from and name it device.wvd.

      • Alternative: Specify the location with the --wvd-path /path/to/your/device.wvd argument.
    • Note: If you only plan to download podcasts, you can skip this and use the --disable-wvd flag.

You're all set! You can verify that the CLI is working by checking the version:

dotify --version

If it prints the version number, you are ready to start downloading. Head over to the Basic Usage guide!