Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get html content

import requests

r=requests.get('link_here')
if r.status_code==200:
    print(r.text[:250])
else:
    print(r.status_code)
 
PREVIOUS NEXT
Tagged: #html #content
ADD COMMENT
Topic
Name
7+3 =