Author:
-
Nguyen Hoang Phuc
-
Dang An Nguyen
- First you need to install
Virtualenv
by following this code:
pip install virtualenv
- Then you need to activate virtual enviroment.
<your current directory to project>/venv/Scripts/activate
- Install all needed package:
pip install -r requirements.txt
- If you want to close project, deactivate it:
<your current directory to project>/venv/Scripts/deactivate
-
Download single file: Download a specific file with TCP protocol, case content-length or transfer-encoding.
-
Multiple request: Send many request to one connection. This function I built follow by Persistent connection with pipelining
-
Multiple connection: Multiple thread to download many file
323: InterruptedError
324: UnicodeDecodeError
325: Error when downloading chunked file
326: AttributeError
when getting content length
327: Error when receiving data and the returning packet was deviated
329: Error when parsing url to get folders directory
330: Cannot parsing html page to get file name in a folder
331: Exception
when downloading folder