def getindex():
    url = 'http://freeget.co'
    headers = {'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1', 'contentType': 'text/html;charset=utf-8'}
    html = requests.get(url, headers=headers)
    print(html.content)
    print(dir(html))
    print(html.headers)
def getindex():
    url = 'http://freeget.co'
    headers = {'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1', 'contentType': 'text/html;charset=utf-8'}
    html = requests.get(url, headers=headers)
    print(html.content)
    print(dir(html))
    print(html.headers)