I'm trying to output the HTML from a webpage, and do it in a formatted way. For example, I want to make this:
My code is:
url = "https://dex.raydium.io/#/market/MTc1macY8G2v1MubFxDp4W8cooaSBUZvc2KqaCNwhQE"
page = urlopen(url)
html_bytes = page.read()
html_help = html_bytes.decode("utf-8")
print(html_help)
I do not wish to print this to a file. I wish to display on screen with coloring and indentation.