import urllib.request with urllib.request.urlopen('http://hanabi.2ch.net/morningcoffee/') as response: html = response.read() print(html)