I need a script that I can run on LinuxMint that will pull videos and store them in specific places.
Example:
www.whatever.com/a ---> /a/a.flv
www.whatever.com/b ---> /b/b.flv
If there is an issue with the server or some kind of error that screws up the downloading process the script will retry the same file but increment it.
Example
www.whatever.com/a ---> /a/a.flv fails ---> /a/a-1.flv (second try)