

def _url_for_fetch(self, mapping):
    if mapping['pre_processed_url']:
        return mapping['pre_processed_url']
    else:
        return mapping['raw_url']

dataset/ETHPy150Open openelections/openelections-core/openelex/us/sc/datasource.py Datasource._url_for_fetch/original