Can we inset website address in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can we inset website address in python

Please reply my Question Explain me so,I will able to do it.

14th Jul 2020, 1:07 PM
Tejas Shrimali
Tejas Shrimali - avatar
2 Answers
+ 2
yes using requests module site_html = requests.get(<URL>).text print(site_html) just replace <URL> with a url and you will get website html
14th Jul 2020, 1:23 PM
Slick
Slick - avatar
+ 1
Thanku for answer
15th Jul 2020, 2:52 AM
Tejas Shrimali
Tejas Shrimali - avatar