12 lines
234 B
Bash
Executable File
12 lines
234 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
TERM="$1"
|
|
PAGES="$2"
|
|
|
|
TOKEN="581a26491893263804e888240fad1cf7"
|
|
|
|
for PAGE in $(seq 1 $PAGES); do
|
|
echo "category: $TERM.$PAGE";
|
|
./get.sh category "$TERM" "$PAGE" "$TOKEN" > "data/category-$TERM.$PAGE.json"
|
|
done
|