Set up basic project
This commit is contained in:
commit
52627c966a
7 changed files with 1006 additions and 0 deletions
13
grab_all.sh
Executable file
13
grab_all.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue