Spotify-downloader: All songs downloaded as 64kbps

Created on 24 Nov 2020  路  10Comments  路  Source: spotDL/spotify-downloader

Hi,

I went to use spotDL today and began by updating the following:
pip3 install -U spotdl
pip3 install youtube-dl -U

I then downloaded a few albums and noticed the quality was always 64kbps. Could this just be because the youtube videos for the 5 albums I downloaded are low quality? Or is there a line of code I need to change to download files as they are on youtube?

Downloads were done on a Macbook with bitrate checked in native Music app. Let me know if you need any more information, two of the albums were Foxygen Hang and Neil Young Tonight's the Night if you want to test for yourself.

All 10 comments

That's just what we could get

+you don't need YouTub-dl
V3 is a complete rework with minimal deps

@outerepic if you want, you can put the links to the songs that were downloaded in the lower quality and I can take a look at it. Anyways it is likely that there were just uploaded to youtube with the lower quality.

@outerepic if you want, you can put the links to the songs that were downloaded in the lower quality and I can take a look at it. Anyways it is likely that there were just uploaded to youtube with the lower quality.

@marvic2409

I just tried downloading this playlist of Grammy Nominations for this year and they all came up as 64kbps. These songs are all pretty popular I imagine so I find it unlikely they would all be on youtube at 64kbps. Unless youtube changed something to limit upload quality to this. If you have any insight please let me know

https://open.spotify.com/playlist/6u3lNpboYHGfw1z2ZR0tix?si=OaNn6ydrS9edb0CAIxQ4yw

@outerepic if you want, you can put the links to the songs that were downloaded in the lower quality and I can take a look at it. Anyways it is likely that there were just uploaded to youtube with the lower quality.

@marvic2409 thanks for the help

Same issue here, all files are being downloaded at 64kbps when using the playlist download feature.

Example file:
Spotify song: https://open.spotify.com/track/0ZXvFSPhZy2Td1GYQBxqvt
Resolves to https://www.youtube.com/watch?v=0MheAxNjz6g

According to jDownloader, these variants are available:
CleanShot 2020-11-29 at 13 01 00@2x

Update pytube from the upstream master manually. I think that should fix your problem.

Update pytube from the upstream master manually. I think that should fix your problem.

Thanks. I assume you mean to run a pip install pytube manually?

I did this:

 ~ pip install pytube
Collecting pytube
  Downloading pytube-10.0.0-py3-none-any.whl (40 kB)
     |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 40 kB 309 kB/s
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.9/site-packages (from pytube) (3.7.4.3)
Installing collected packages: pytube
Successfully installed pytube-10.0.0

But the issue remains, still getting 64 kbps.

Thanks for the update. We'll look into it. As of now the devs are a bit busy so it'll take some time.

I tried doing 'pip3 install pytube' as suggested and am still getting all songs in 64kbps. I have been unable to find where the youtube download links are stored in v3 but it seems that these songs are available through other downloaders at 192kbps. I just did a brand new install of v3 for this test and sadly got the same results.

The main issue was that ffmpeg converted the temp files to 64kpbs mp3 files. Looking at the temp files themselves bitrate was as expected. I created a fix in #1065.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

loftwah picture loftwah  路  5Comments

noahball picture noahball  路  3Comments

b-rad15 picture b-rad15  路  4Comments

marinabar picture marinabar  路  4Comments

isdito picture isdito  路  5Comments