Python: Read URL

From OnnoWiki
Revision as of 08:22, 29 April 2019 by Onnowpurbo (talk | contribs) (Created page with " pip install requests Script import requests link = "http://www.somesite.com/details.pl?urn=2344" f = requests.get(link) print(f.text) ==Pranala Menarik== * Pyt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
pip install requests


Script

import requests

link = "http://www.somesite.com/details.pl?urn=2344"
f = requests.get(link)
print(f.text)


Pranala Menarik