| import requests | |
| try: | |
| print("Testing basic internet access...") | |
| google_check = requests.get("https://www.google.com", timeout=10) | |
| print(f"Google status: {google_check.status_code}") | |
| print("Testing Telegram endpoint access...") | |
| telegram_check = requests.get("https://api.telegram.org", timeout=10) | |
| print(f"Telegram status: {telegram_check.status_code}") | |
| except Exception as e: | |
| print(f"❌ Network blocked: {e}") | |