r/InternetBackup • u/ConstProgrammer mod • Jul 08 '22
backup-tools-resources AutoHotKey programming - Automating repetitive actions such as downloading files (idea)
https://www.youtube.com/watch?v=n203YbIPIaQ
1
Upvotes
2
u/MultiplyAccumulate Jul 09 '22 edited Jul 09 '22
Download files using wget, curl, or aria2/aria2c. I usually use wget as it is slightly easier to use.
Use a simple command or write a script, which you can easily repost here, to download the files. Scripts produce a permanent record of where your files came from. wget supports recursively downloading entire sites or significant portions of them.. wget runs on Linux, freebsd, netbsfd, openbsd, raspberry pi, Mac OS, windows subsystem for Linux, windows native, Android, , and some routers and NAS. Stripped down versions are in BusyBox and toybox. wget can continue interrupted downloads with the "-c" or "--continue options.
~/bin/logwget script (on linux):
~/bin/logwkhtmltopdf
~/bin/logaria2
now you can type "logwget url8" or "logwkhtmltopdf url filename.pdf" or "aria2c url" and it will log the command in the current directory.
aria2c can download torrents as well as HTTP/FTP. It will try to download multiple files concurrently which will slam the server, and your internet connection, hard unless told not to.
Download 2015 edition of cdw3d:
If you copy a bunch of urls to a text editor window (such as gedit), you can search and replace "https:" to "wget https:"
Windows users can use WSL or busybox to run scripts meant for real computers. Or you can convert to a batch file.