Closed doomdance closed 2 years ago
I been having the same issue since the last update
This is irritating because it only happens with some installations, using the exact same tidal-dl version and config file that works on other Windows and Linux systems, across various versions of Python.
The issue is that the content URL is being improperly decoded (specifically here, hyphens) and you see stuff like this: Signature=‾TSpMHqYk2eYczO‾-0Li‾k5H‾‾cg etc when you should see this: Signature=4h-lFi2hpiApYALiG8ZB-Ng-~Nbtf9Ln9I7csrxZsPo3jxkb8eD91frBwhUrgREkzfSi6MVkki- etc
Why? Because it's quality open source, of course: https://stackoverflow.com/questions/44203397/python-requests-get-returns-improperly-decoded-text-instead-of-utf-8
To fix, edit tidal-dl.py, and change this:
136 def __getResolutionList__(self, url):
137 ret = []
138 txt = requests.get(url).text
to this:
136 def __getResolutionList__(self, url):
137 ret = []
138 txt = requests.get(url).content.decode('utf-8')
@aberfan It worked as described. Thank you so much!!!
This works fine! Tks
Can someone one show us a step my step for them slow learners. please! & Thank you
This issue has been automatically marked as stale because it has not had recent activity.
Just ran into this issue on alpine linux, seems like the fix was never implemented into tidal-dl???
So after finding this, I was able to replicate the fix locally. Wrote a PR to push it upstream...
Which tool
tidal-dl
Version
v2022.02.07.1
Platform
Mac Big Sur 11.3.1
Describe the bug
When attempting to download a video using the URL or ID the following error occurs. [ERR] {TITLE} parse ts urls failed.
Relevant log output
Add screenshots