Extract HTML code from URL in Python and C#

Posted by in c#, Python

In this post, I am going to code a small Python exercise of extracting the HTML code from a URL. You can find the Python on GitHub. Python code We need the packages urllib2: The result from this code is the HTML code from the URL: With this easy and short code I end up my objective: get the HTML code of a website. If you want to extract information, you will need new packages, but I explain it in a future post. Now, coding on C# I am going…read more