def get_url(ticker):
    env = environ.get('FLASK_ENV', 'development')
    if (env == 'development'):
        url = 'https://www.fundamentus.com.br/amline/cot_hist.php?papel='
    else:
        phproxy = 'http://shortbushash.com/proxy.php'
        url = (phproxy + '?q=https%3A%2F%2Fwww.fundamentus.com.br%2Famline%2Fcot_hist.php%3Fpapel%3D')
    return (((url + ticker) + '&hl=1a7'), env)
def get_url(ticker):
    env = environ.get('FLASK_ENV', 'development')
    if (env == 'development'):
        url = 'https://www.fundamentus.com.br/amline/cot_hist.php?papel='
    else:
        phproxy = 'http://shortbushash.com/proxy.php'
        url = (phproxy + '?q=https%3A%2F%2Fwww.fundamentus.com.br%2Famline%2Fcot_hist.php%3Fpapel%3D')
    return (((url + ticker) + '&hl=1a7'), env)