Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -148,7 +148,7 @@ async def perform_web_browse(action: str, query: str, browser_name: str, search_
|
|
| 148 |
|
| 149 |
try:
|
| 150 |
response = await page.goto(url, wait_until='domcontentloaded', timeout=25000)
|
| 151 |
-
|
| 152 |
html_content = await page.content()
|
| 153 |
|
| 154 |
if any(phrase in html_content for phrase in ["unusual traffic", "CAPTCHA", "are you human", "not a robot"]):
|
|
|
|
| 148 |
|
| 149 |
try:
|
| 150 |
response = await page.goto(url, wait_until='domcontentloaded', timeout=25000)
|
| 151 |
+
print(response)
|
| 152 |
html_content = await page.content()
|
| 153 |
|
| 154 |
if any(phrase in html_content for phrase in ["unusual traffic", "CAPTCHA", "are you human", "not a robot"]):
|