ardgan commited on
Commit
0ae63f2
·
verified ·
1 Parent(s): 3a0c9b6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -65,7 +65,7 @@ def web_search(query: str) -> str:
65
  if not google_api_key or not google_cse_id:
66
  return "Web search requires GOOGLE_API_KEY and GOOGLE_CSE_ID to be set."
67
 
68
- # بحث عام بدلاً من البحث فقط في mgzon.com
69
  url = f"https://www.googleapis.com/customsearch/v1?key={google_api_key}&cx={google_cse_id}&q={query}"
70
  response = requests.get(url, timeout=10)
71
  response.raise_for_status()
 
65
  if not google_api_key or not google_cse_id:
66
  return "Web search requires GOOGLE_API_KEY and GOOGLE_CSE_ID to be set."
67
 
68
+ # بحث عام بدلاً البحث فقط في mgzon.com
69
  url = f"https://www.googleapis.com/customsearch/v1?key={google_api_key}&cx={google_cse_id}&q={query}"
70
  response = requests.get(url, timeout=10)
71
  response.raise_for_status()