from pywebber import Ripper
def get_countries_as_tuples():
"""Get list of countries and their abbreviations as a tuple of tuples"""
p = Ripper('http://abbreviations.yourdictionary.com/articles/country-abbreviations.html')
c = p.soup.find('div', id='article_main_content')