We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee88632 commit 89f2726Copy full SHA for 89f2726
.gitignore
@@ -3,6 +3,7 @@ node_modules
3
*.secret.*
4
gen
5
.env
6
-scripts/archive.synology.com/
+archive.synology.com
7
+global.download.synology.com
8
npm-debug.log
9
tmp
scripts/download_spk.sh
@@ -12,4 +12,10 @@ for pkg in ${PACKAGES[@]}; do
12
done
13
14
15
-wget --execute="robots = off" --mirror --convert-links --no-parent --accept $str https://archive.synology.com/download/Package/spk
+wget --execute="robots = off" --mirror --convert-links --no-parent --accept $str https://archive.synology.com/download/Package
16
+
17
+for f in $(find archive.synology.com/download/Package)
18
+do
19
+ url=`sed -n 's/.*href="\([^"]*.spk\).*/\1/p' $f`
20
+ wget --execute="robots = off" --mirror "$url"
21
+done
0 commit comments