-
Notifications
You must be signed in to change notification settings - Fork 57
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
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' #20
Comments
It happens because pySmartDL assumes that webserver will always send the "Content-Length" header in its response. Some servers don't do that. In order to fix this error lot of changes are required in source code of this library. |
The server I use sends the "Content-Length", as matter of fact for the same server and same file, same link, same config, one time I get an error and another time everything is fine the file is downloaded. Could it be because of some internal caching or buffering done by pySmartDL? |
Fixed. |
Seem there is another place need to be fixed
|
Hey, thx for this module.
When I download the very same zip file from github sometimes it crashes but most of the time it works.
http://github.com/nongiach/arm_now
The text was updated successfully, but these errors were encountered: