文章目录 测试环境 安装环境 源代码 测试 测试环境 Python3.6.4 依赖: requests == 2.19.1 bs4 == 4.6.3 lxml == 4.2.5 安装环境 pip3 install requests bs4 lxml 源代码 #!/usr/bin/env python3 # -*- coding:utf-8 -*- # &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& # @Version: v1.0 # @license: Apache Licence # @File Name: ipQuery.py