import requests r=requests.get('link_here') if r.status_code==200: print(r.text[:250]) else: print(r.status_code)