def get_request(page, proxies):
    try:
        headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Firefox/45.0'}
        r = requests.get(page, headers=headers, proxies=proxies, timeout=10.0)
        return r
    except:

        class r(object):
            status_code = None
        return r
        pass
def get_request(page, proxies):
    try:
        headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Firefox/45.0'}
        r = requests.get(page, headers=headers, proxies=proxies, timeout=10.0)
        return r
    except:

        class r(object):
            status_code = None
        return r
        pass