proxychains-ng
proxychains-ng copied to clipboard
proxychains4 cannot download file completly
proxychains3.1 && proxychains4.11 same error
my python code
the code run well on other system .
import urllib2, urllib
import sys
# show download progress
def reporthook(blocks_read,block_size,total_size):
if not blocks_read:
print ("Connection opened")
if total_size <0:
#print "\rRead %d blocks" % blocks_read
sys.stdout.write("\rRead %d blocks " % blocks_read)
sys.stdout.flush()
else:
#print "\rdownloading: %d KB, totalsize: %d KB" % (blocks_read*block_size/1024.0,total_size/1024.0)
sys.stdout.write("\rdownloading: %d KB, totalsize: %d KB " % (blocks_read*block_size/1024.0,total_size/1024.0))
sys.stdout.flush()
urllib.urlretrieve('http://hanguo3.tumblr.com/video_file/146969728436/tumblr_o7hekgP1bv1umyqgn','aa.mp4',reporthook);
but if append before proxychains use "time" or "strace" work well.
the code run well on other system .
does it run well on other system also if used with proxychains4 ?