summaryrefslogtreecommitdiff
path: root/scripts/geojson/fetch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/geojson/fetch.sh')
-rwxr-xr-xscripts/geojson/fetch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/geojson/fetch.sh b/scripts/geojson/fetch.sh
index 5aa98ec..bd86239 100755
--- a/scripts/geojson/fetch.sh
+++ b/scripts/geojson/fetch.sh
@@ -1,6 +1,6 @@
fetch_category () {
echo "Fetching $1" > /dev/stderr
- json=`curl "https://wiki.linux-forks.de/mediawiki/api.php?action=query&format=json&list=categorymembers&cmtitle=Category:$1&cmlimit=1000" 2>/dev/null`
+ json=`curl "https://wiki.linux-forks.de/mediawiki/api.php?action=query&format=json&list=categorymembers&cmtitle=Category:$1&cmlimit=max" 2>/dev/null`
cities=`echo "$json" | json_reformat | sed -n 's/.*"title":\s*"\([^"]*\).*/\1/p' | tr ' ' '_' | tr '\n' ' '`
num=`echo $cities | tr ' ' '\n' | wc -l`
i=0