forked from MapComplete/MapComplete
Merge branch 'develop'
This commit is contained in:
commit
9f3ba46530
309 changed files with 36982 additions and 9766 deletions
|
@ -75,9 +75,7 @@ class StatsDownloader {
|
|||
|
||||
while (url) {
|
||||
ScriptUtils.erasableLog(`Downloading stats for ${year}-${month}, page ${page} ${url}`)
|
||||
const result = await ScriptUtils.DownloadJSON(url, {
|
||||
headers: headers
|
||||
})
|
||||
const result = await ScriptUtils.DownloadJSON(url, headers)
|
||||
page++;
|
||||
allFeatures.push(...result.features)
|
||||
if (result.features === undefined) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue