summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/CloudzillaTo.py
diff options
context:
space:
mode:
authorGravatar estaban <babedoudi@yahoo.fr> 2015-08-04 23:11:43 +0200
committerGravatar estaban <babedoudi@yahoo.fr> 2015-08-04 23:11:43 +0200
commit0a5daec6812f27e68673c7ef5842f701b4ed1594 (patch)
treee1dbe6b8e67cf1a3d22b0c347edc45d51c3c307e /module/plugins/accounts/CloudzillaTo.py
parentSome fixes (2) (diff)
downloadpyload-0a5daec6812f27e68673c7ef5842f701b4ed1594.tar.xz
Download deleted because of file size mismatch
One some hosters like OneFichier for example, the webpage displays a file size of 1.46GB. However the real file size can be 1.4649853GB, which makes a difference between the downloaded file size and the expected file size. size_tolerance is meant for that, but its value is currently set to 1MB. This is an issue in the above case where the difference between expected size and downloaded size is almost 10MB. In many cases, this causes the downloaded file to simply be deleted, even though it has been downloaded without any issue. The biggest possible size difference is 10MB, at least if the website displays 2 decimals and that the biggest unit is GB. Therefore I propose to change the max tolerance from 1MB to 10MB. FYI the error message in the log looks like that: Fail: File size mismatch | Expected file size: 1492501135.36 | Downloaded file size: 1488025852
Diffstat (limited to 'module/plugins/accounts/CloudzillaTo.py')
0 files changed, 0 insertions, 0 deletions