<reponame>LatvianPython/wind-experience<gh_stars>1-10
from pathlib import Path
from utility import next_date


def download_links(base_path):
    base_url = 'https://www.wind-erleben.de/ajaxdata/data/all/{0}/{0}/'
    inputs = [
        (Path(base_path, '{}.json'.format(current_date.strftime('%Y%m%d'))),
         base_url.format(current_date.strftime('%Y-%m-%d')))
        for current_date in next_date()
    ]
    return inputs

from pathlib import Path
from utility import next_date


def download_links(base_path):
    base_url = 'https://www.wind-erleben.de/ajaxdata/data/all/{0}/{0}/'
    inputs = [
        (Path(base_path, '{}.json'.format(current_date.strftime('%Y%m%d'))),
         base_url.format(current_date.strftime('%Y-%m-%d')))
        for current_date in next_date()
    ]
    return inputs