How to download a page in Python

If you want to download a page with Python, you will be suprised on how many ways you are able to do so. In this post I have collected two methods which will allow you to download a HTML page directly with Python.

The first one is the WGET function, this function is very direct. You first have to import wget, and afterwards you can use the wget.download(‘cyberwarzone.com’) function call to download the HTML page of cyberwarzone.com.

Be the first to comment

Leave a Reply