glomatico / spotify-web-downloader

A Python CLI app for downloading songs and music videos directly from Spotify.
439 stars 52 forks source link

file_id not in list #73

Open pdtan opened 1 week ago

pdtan commented 1 week ago

Track: https://open.spotify.com/track/3fNQb48Dia2HLg3Rn9iIFi gid: 6af221f5069d4f9ea2e6cc7e140faf90 files:

{
    "file_id": "cef08f5697ea23b92e259f9a255bcc57913a5a10",
    "format": "OGG_VORBIS_320"
},
{
    "file_id": "d0076e4a1f345d8ea482b33f3691077fa3a15836",
    "format": "OGG_VORBIS_160"
},
{
    "file_id": "324d7e3983b201d9a336509efdbd53f3db861aa4",
    "format": "OGG_VORBIS_96"
},
{
    "file_id": "f7bdd979017772dea7fdbef632994d8cd993b5f7",
    "format": "MP4_256_DUAL"
},
{
    "file_id": "125b476097c944be11a14347058c680b6e042f97",
    "format": "MP4_256"
},
{
    "file_id": "d1953a44f2ad8a2e0d9bf70d433c3f1b07f427cc",
    "format": "MP4_128_DUAL"
},
{
    "file_id": "774ca75a9d801e8771378f1117771d1754e7cc0d",
    "format": "MP4_128"
},
{
    "file_id": "b167c12cb7157d876d8a8a48786ad02968373bea",
    "format": "AAC_24"
}

but webplayer request to another file_id 373be50557ba723b07571c7a465447ce4d389df0: https://seektables.scdn.co/seektable/125b476097c944be11a14347058c680b6e042f97.json => HTTP 404 https://seektables.scdn.co/seektable/373be50557ba723b07571c7a465447ce4d389df0.json => HTTP 200 Audio format:

Audio
ID                          : 1
Format                      : AAC LC
Format/Info                 : Advanced Audio Codec Low Complexity
Codec ID                    : mp4a-40-2
Duration                    : 3 min 11 s
Bit rate mode               : Constant
Bit rate                    : 255 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate               : 44.1 kHz

Help me to find where to get this new file_id if it's not in default list.