Add ?until=YYYY-MM-DD and optionally &weekdaysOnly=1 to the URL.