sapo-videos/get-search.sh

12 lines
221 B
Bash
Raw Normal View History

2023-07-28 09:47:33 +00:00
#!/usr/bin/env bash
TERM="$1"
PAGES="$2"
TOKEN="581a26491893263804e888240fad1cf7"
for PAGE in $(seq 1 $PAGES); do
echo "search: $TERM.$PAGE";
./get.sh search "$TERM" "$PAGE" "$TOKEN" > "data/$TERM.$PAGE.json"
done