Skip to content

[BUG] WorkersManager没有startswith属性 #9

@Yccc1220

Description

@Yccc1220

环境信息

  • OS: [e.g. Windows 11,]
  • Python 版本: [e.g. 3.12.12]
  • cfspider 版本: [e.g. 1.9.0]

运行一键部署脚本出现
[CFspider] 正在部署 VLESS 破皮版 Workers...
[CFspider] Workers 创建成功: https://cfspider-s7p1fzth.121e84c1c1.workers.dev
Traceback (most recent call last):
File "e:\Github Project\exp.py", line 11, in
response = cfspider.get("https://httpbin.org/ip", cf_proxies=workers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\envs\api\Lib\site-packages\cfspider\api.py", line 1082, in get
return request("GET", url, cf_proxies=cf_proxies, uuid=uuid,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\envs\api\Lib\site-packages\cfspider\api.py", line 479, in request
workers_type = _detect_workers_type(cf_proxies)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\envs\api\Lib\site-packages\cfspider\api.py", line 608, in _detect_workers_type
if not cf_proxies.startswith('http'):
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'WorkersManager' object has no attribute 'startswith'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions