Skip to content

被反爬风控了怎么办,发现每个号只能爬一次,请求多了就会被机器人识别 #71

Description

@Selina7272

Version

pip show xiaohongshu-cli | grep Version

Operating System

Windows

What happened?

Image 搜索失败:寝室好物 / popular / 第1页:命令失败(1):search 寝室好物 --sort popular --type image --page 1;WARNING:xhs_cli.client:Captcha triggered (count=1), cooling down 5s before raising WARNING:xhs_cli.client:Captcha triggered (count=2), cooling down 10s before raising

Expected behavior

优化请求频率与重试策略,如果需要人机验证的时候,可以人工进行人机验证

Steps to reproduce

Error output / logs


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