Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookies 定制格式 和 cookie池 怎么设置 #49

Open
shanzhongxu opened this issue Sep 6, 2023 · 1 comment
Open

cookies 定制格式 和 cookie池 怎么设置 #49

shanzhongxu opened this issue Sep 6, 2023 · 1 comment

Comments

@shanzhongxu
Copy link

def __init__(self):
    super().__init__(spider_name=zhifang_Spider.name)
    self.delete()  # 如需去重、增量采集,请注释该行
    self.headers = {
        # 有反爬的话,可以在这边定制请求头
    }
    self.cookies = (
        # 多账号采集的话,可以在这边定制多个 cookie string
       
    )
@shanzhongxu
Copy link
Author

close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant