I'd recommend doing this in Python, a clean, elegant language with suitable libraries for the task (for example, the requests library). Here's the code to fetch the HTML from a page:
Code:
import requests
# ...
r = requests.get(url)
print r.text
If you're looking to parse the HTML further, BeautifulSoup and Scrapy are well up to the task.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.