At times, I will have a long list of urls that I want to download (e.g. zip files), and I don't want to do one at a time. So I have an add-on for firefox called "downthemall". When you have a page up in your browser, you can right click on the page and tell "downthemall" to download all or selected links on that page.
So in another editor, I created a macro to create a webpage for the above use. It takes the list of urls, and creates a html page for it. Let's say your file contains this (I know these aren't valid urls... it's just to demo the process):
a
b
After running the script you will get:
After this, save it as an html file, open it in firefox, right click and select "downthemall", and you can download all the files... with minimal effort. The "title" is prompted when you run the script.
Here is the script. Edit: See improved version by Mofi below.
So in another editor, I created a macro to create a webpage for the above use. It takes the list of urls, and creates a html page for it. Let's say your file contains this (I know these aren't valid urls... it's just to demo the process):
a
b
After running the script you will get:
Code: Select all
<html>
<head>
<title>aaa</title>
<body>
<a href="a">a</a><br>
<a href="b">b</a><br>
</body>
</html>
Here is the script. Edit: See improved version by Mofi below.