It doesn’t matter if you convert it, if it has already been low quality, making the file take up more space by converting it won’t change anything, you won’t suddenly regain quality.
It is possible to make the quality a bit better with some little tweaks just it will be hard for me to code that in
i remember i was using a program for that called Mp3Doctor
If i remember correctly i was doing it with the equalizer i don’t remember the settings i think i was using a jazz preset until i learned how to do it with out presets.(jazz is a very good preset to boost the quality a bit)
Edit: I saw that the Adele song you pulled was a .webm
So the script pulls the audio as is? That would actually be more useful than using the download websites, which can screw up the quality.
I see you use youtube-dl. Great tool for downloading stream sources from a lot of webpages. A LOT. So technically, your tool shouldn’t only work with YouTube.
I must however back @J_P: You cannot generate new data using scaling or distortion methods. A 100x100 JPEG will without additional information about the content not be higher quality if you scale it to 1000x1000 and put some filters on it. Replace pixels by bitrate for audio.