Skip to content

添加付费代理问题 #6

@Wing-Linn

Description

@Wing-Linn

我想问一下想要添加亮数据的代理,代理池那一块的代码需要改吗,能怎么改,可以直接这么添加代理吗
def get_home(self):
self.sees.get(
url=GET_HOME, #对应携程网的评论网址
headers={
"User-Agent": get_fake_user_agent("mobile")
},
#proxies=my_get_proxy(),
proxies={'http': 'http://127.0.0.1:24001'},
timeout=TIME_OUT
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions