We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我想问一下想要添加亮数据的代理,代理池那一块的代码需要改吗,能怎么改,可以直接这么添加代理吗 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 )
The text was updated successfully, but these errors were encountered:
看你具体的,我那个只是一个基础,根据你具体的整就可以了😊
Sorry, something went wrong.
No branches or pull requests
我想问一下想要添加亮数据的代理,代理池那一块的代码需要改吗,能怎么改,可以直接这么添加代理吗
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
)
The text was updated successfully, but these errors were encountered: