Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python TypeError #269

Open
dwd1 opened this issue Feb 7, 2019 · 1 comment
Open

Python TypeError #269

dwd1 opened this issue Feb 7, 2019 · 1 comment

Comments

@dwd1
Copy link

dwd1 commented Feb 7, 2019

scdl -a -c --onlymp3 -l https://soundcloud.com/musickillershungary

Tracks and reposts n°1619 of 2595
Found a track
Downloading Willcox - 2017 0306 23H
int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/scdl/scdl.py", line 348, in download
parse_url(uri)
File "/usr/local/lib/python3.5/dist-packages/scdl/scdl.py", line 262, in parse_url
download_track(item)
File "/usr/local/lib/python3.5/dist-packages/scdl/scdl.py", line 499, in download_track
total_length = int(r.headers.get('content-length'))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Tracks and reposts n°1620 of 2595
Error resolving url, retrying...

@takelley1
Copy link

I was having the same issue but using the -d ./ option fixed it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants