Commit 335b394
committed
Add optional Kiwix test ZIM download
After installing Kiwix-Tools, add an optional step to fetch the latest speedtest ZIM archive from https://download.kiwix.org/zim/wikipedia. The script probes the listing to find the newest speedtest_en_blob_YYYY-MM.zim, then downloads it to /data using a temporary file and curl_with_retry (with CURL_TIMEOUT and CURL_CONNECT_TO), handling missing entries, download failures, and empty files with warnings. On success the file is moved into /data and a success message is logged.1 parent 0b3ff91 commit 335b394
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
32 | 60 | | |
33 | 61 | | |
34 | 62 | | |
| |||
0 commit comments