Skip to content

How to get the live website html in Python?

import requests
html_code = requests.get('url')
See also  Python code snippet - How to distribute a dataset in train and test using scikit?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.