def configure_request(app):
    global api_key, NEWS_API_BASE_URL, NEWS_API_KEY, ARTICLE
    api_key = app.config['NEWS_API_KEY']
    ARTICLE = app.config['ARTICLE']
    NEWS_API_BASE_URL = app.config['NEWS_API_BASE_URL']
    NEWS_API_KEY = app.config['NEWS_API_KEY']
def configure_request(app):
    global api_key, NEWS_API_BASE_URL, NEWS_API_KEY, ARTICLE
    api_key = app.config['NEWS_API_KEY']
    ARTICLE = app.config['ARTICLE']
    NEWS_API_BASE_URL = app.config['NEWS_API_BASE_URL']
    NEWS_API_KEY = app.config['NEWS_API_KEY']