init
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/fish
|
||||
set base "https://server.elscione.com/Manga/Claymore%20%5BDigital%5D%20%5BVIZ%20Media%5D"
|
||||
|
||||
mkdir -p Claymore
|
||||
|
||||
for v in (seq -w 6 27)
|
||||
set v_num (math $v)
|
||||
|
||||
# Correct chapter math
|
||||
set start (math "($v_num - 2) * 6 + 4")
|
||||
set end (math "$start + 5")
|
||||
|
||||
set start_p (printf "%03d" $start)
|
||||
set end_p (printf "%03d" $end)
|
||||
|
||||
set url "$base/Claymore%20-%20c$start_p-$end_p%20%28v$v%29%20%5BDigital%5D%20%5BVIZ%20Media%5D.zip"
|
||||
|
||||
echo "Downloading v$v (c$start_p-$end_p)"
|
||||
|
||||
wget -P Claymore "$url"
|
||||
or echo "Missing: v$v"
|
||||
end
|
||||
Reference in New Issue
Block a user