from bs4 import BeautifulSoup
url = 'http://www.myipaddress.com/show-my-ip-address/'
pageSource = requests.get(url)
pageSourceText = pageSource.text
soup = BeautifulSoup(pageSourceText)
for link in soup.findAll('b'):
#Don't try and use this program more than once in a short period of time or the server will deny you the webpage!
This little script with parse a website to find your ip address!