github-actions[bot] commited on
Commit
e52db44
·
1 Parent(s): 780d5e7

Update from GitHub Actions

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -48,7 +48,7 @@ async def stream_generator(response):
48
  await asyncio.sleep(0.001) # 让出控制权,保持异步特性
49
 
50
  # 获取环境变量中的请求库选择
51
- REQUEST_LIB = os.environ.get('REQUEST_LIB', 'cloudscraper').lower()
52
 
53
  async def make_request(method: str, **kwargs):
54
  """统一的请求处理函数"""
 
48
  await asyncio.sleep(0.001) # 让出控制权,保持异步特性
49
 
50
  # 获取环境变量中的请求库选择
51
+ REQUEST_LIB = os.environ.get('REQUEST_LIB', 'curl_cffi').lower()
52
 
53
  async def make_request(method: str, **kwargs):
54
  """统一的请求处理函数"""