Remove unused functions.
Rename file object variables as per convention.
Drop support for thread downloading.

Programs dedicated to downloading websites, such as Wget,
should always be better than whatever I may be able to come up with.