随笔分类 -  Python

摘要:# 测试ip# url = "https://api.ipify.org/?format=json"# resp = requests.get(url, proxies=info['proxy'])# print(json.loads(resp.text)['ip']) 阅读全文
posted @ 2018-04-27 15:55 ghfjj 阅读(316) 评论(0) 推荐(0)
摘要:此文转自:https://zhuanlan.zhihu.com/p/28587931 转录只是为了方便学习,感谢他的分享 Python模拟登陆让不少人伤透脑筋,今天奉上一种万能登陆方法。你无须精通HTML,甚至也无须精通Python,但却能让你成功的进行模拟登陆。本文讲的是登陆所有网站的一种方法,并 阅读全文
posted @ 2018-04-16 16:14 ghfjj 阅读(455) 评论(0) 推荐(0)
摘要:pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com pakegename比如pip install -i http://pypi.douban.com/simple/ --trusted-host  阅读全文
posted @ 2017-12-02 10:08 ghfjj 阅读(190) 评论(0) 推荐(0)