This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Downloads all files directly linked within a webpage that are of a given list of extensions. | |
# | |
# The webpage in question is to be provided as the first argument for the program. | |
# The formats shall be specified as a single, second argument by the user, like so: "pdf txt tar.gz" | |
# | |
# If a third argument is given, it will be used as a target folder in which to save downloaded files. | |
# | |
# example: getfiles.pl http://google.com "gif js" | |
# |