import requests
url = input('web: ')
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)'
' Chrome/91.0.4472.124 Safari/537.36'
}
response = requests.get(url, headers=headers)
if response.status_code == 200:
html_content = response.text
print(html_content)
else:
print("مشکل در دریافت صفحه")
#python #comma_code
#programing #requests
#پایتون #برنامه_نویسی #کاما_کد #requests
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1😁1