4 ms·
What you might be looking for in this thread. Just also download the 2010 annual manually to get everything. https://ia800204.us.archive.org/29/items/Dungeon_Ma
by rosmax_1337 6y ago
What you might be looking for in this thread. Just also download the 2010 annual manually to get everything. https://ia800204.us.archive.org/29/items/Dungeon_Magazine_Annual_2010/Dungeon_Magazine_Annual_2010.pdf https://ia800204.us.archive.org/29/items/Dungeon_Magazine_An...
#!/bin/bash
i=1
until [ $i -gt 221 ]
do
printf -v j "%03d" $i
wget "https://archive.org/download/Dungeon_Magazine_$j/Dungeon_Magazine_$j.pdf"
((i=i+1))
done
- msla 6y agoThere's a Python library: https://archive.org/services/docs/api/internetarchive/ https://archive.org/services/docs/api/internetarchive/ And script: https://archive.org/services/docs/api/internetarchive/cli.html https://archive.org/services/docs/api/internetarchive/cli.ht... Which really helps you automate stuff. https://pypi.org/project/internetarchive/ https://pypi.org/project/internetarchive/ It turns your script into: for i in $(seq 1 221) do ia download Dungeon_Magazine_$(printf "%03d" $i) --glob='*.pdf' done Try 'ia help download' for more information.
- m463 6y agoprintf -v j <-- what is this magic that sets the variable $j ?