python3.x獲取公網ip

獲取公網ip:html from bs4 import BeautifulSoup from urllib.request import urlopen html=urlopen(r'http://2017.ip138.com/ic.asp') x=BeautifulSoup(html.read(),'html5lib') y=str(x.center) print(y[y.index('[')+
相關文章
相關標籤/搜索