zhepama commited on
Commit
0cf4597
·
verified ·
1 Parent(s): 60e9d8f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -3
main.py CHANGED
@@ -63,11 +63,10 @@ async def proxy(request: Request, path: str, target_url: Optional[str] = None):
63
  },
64
  delay=10
65
  )
66
-
67
- scraper.get("https://grok.com/",headers={
68
  "sec-fetch-dest": "document",
69
  })
70
-
71
  # 获取请求体
72
  body = await request.body()
73
 
 
63
  },
64
  delay=10
65
  )
66
+ grok_response = scraper.get("https://grok.com/",headers={
 
67
  "sec-fetch-dest": "document",
68
  })
69
+ print(f"grok主页状态码: {grok_response.status_code}")
70
  # 获取请求体
71
  body = await request.body()
72