simple pure python 3 module for download file and web pages.
i write this module in linux. and i didn't test it on other platforms.
Install On Linux:
sudo pip3 install freepyload
Use and Example:
from freepyload.downloader import freepyload
f = freepyload("http://localhost:8000/tor-browser-linux64-5.0.5_en-US.tar.xz")
f.download_file()
More Explain:
0 - open terminal
1 - install module.
sudo pip3 install freepyload
2 - create a file like test.py on your linux.
touch test.py
3 - copy and past this code on test.py:
from freepyload.downloader import freepyload
f = freepyload("http://localhost:8000/tor-browser-linux64-5.0.5_en-US.tar.xz")
f.download_file()
4 - run code:
python3 test.py
5 - good luck.