#!/usr/bin/env bash base_url="https://popcorn.voidlinux.org/popcorn_" ft=".json" start_date="2018-05-08" end_date="2025-09-25" while [[ "$start_date" != "$end_date" ]]; do echo "$start_date" start_date=$(date --date "$start_date + 1 day" +"%Y-%m-%d") wget -O "${start_date}.json" "${base_url}${start_date}${ft}" done Copy