text_plain_output_1.png
import requests #library used to download web pages.

import requests
URL = 'https://nssdc.gsfc.nasa.gov/planetary/factsheet/planet_table_ratio.html'

page = requests.get(URL)

page.status_code

HTMLstr = page.text
print(HTMLstr[:1000])