پایتون | python | برنامه‌نویسی | comma.code
2.68K subscribers
16 photos
44 videos
6 files
44 links
به ⭐️کانال پایتونِ ما⭐️ خوش اومدی؛ جایی که کدها زنده میشن و ایدهها به واقعیت تبدیل میشدن! 🚀 چه تازهکار باشی و چه حرفه ای، اینجا کلی چیز منتظرته

حرفی سخنی انتقادی: @ir_379
Download Telegram
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
📱 @comma_code_python1
📱comma.code
📱COMMA_CODE_YOUTUBE
Please open Telegram to view this post
VIEW IN TELEGRAM
1😁1