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

获取代理为空 #2

Open
wifity opened this issue Jun 19, 2018 · 0 comments
Open

获取代理为空 #2

wifity opened this issue Jun 19, 2018 · 0 comments

Comments

@wifity
Copy link

wifity commented Jun 19, 2018

当前代码IP代理存储用的是hset方法,pip安装的版本获取代理没有用对应的hget,用的是get,pip版本是不是没有更新,导致每次获取都是空。
我的解决办法是根据最新代码的RedisClient.random()方法获取,没有通过pip安装的获取

@aesdhj
Copy link

aesdhj commented Oct 2, 2018

当前代码IP代理存储用的是hset方法,pip安装的版本获取代理没有用对应的hget,用的是get,pip版本是不是没有更新,导致每次获取都是空。
我的解决办法是根据最新代码的RedisClient.random()方法获取,没有通过pip安装的获取

我也在看这本书,为这本书建了一个QQ群805370297,方便大家讨论

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

2 participants