Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

Automate downloading a ton of files

Mike DangerMike Danger "Diane..."a place both wonderful and strangeRegistered User regular
I just got asked at work to download a zillion files. I have a page of links that each look like this:
<td style="width:16px;"><img OnClick="window.open('/Analytics/Data/ViewResponseDetails.aspx?responseGuid=be9b4e83-cd5b-479e-a61a-7fa88b91aef8&amp;noChrome=true', 'Response', 'menubar=no,toolbar=no,scrollbars=yes')" src="/Images/details16.gif" style="border-width:0px;cursor:hand;" /></td><td align="left">FILENAME.EXTENSION - 289 KB</td>

Each of those links goes to a page with a link like this:
<input type="image" style="border-width:0px;" src="/Images/data_down.gif" id="ctl00_pageContentPlace_DownloadFile3753655" name="ctl00$pageContentPlace$DownloadFile3753655">

When I click that second link, it gives me the usual Firefox "you have chosen to open...." dialog.

Is there a good way to do this with a browser extension or something? I have been trying DownThemAll/FlashGot, but they don't seem to work (or I just don't know enough about them to use them). I think that OnClick tag for the first link might be throwing it off.

Posts

  • electricitylikesmeelectricitylikesme Registered User regular
    Python's Mechanize library is really handy for little tasks like this, but you might want to check out jDownloader which was recommended to me for doing this sort of thing.

    Dis' wrote: »
    Cancer is when cells stop letting the body mooch off their hard work - clearly a community of like-minded cells should isolate themselves and do the best job each can do, even if the rest of the body collapses!
  • Apothe0sisApothe0sis Registered User regular
    You could use DownThemAll (http://www.downthemall.net/) which is the best download manager plugin for Firefox. You can then right click any non object on the page and select "DownThemAll..." and you'll be able to tell it which links to download (either by selecting them, or via filters). Or you can throw caution to the wind and use DownThemAll! One Click and it will download everything it sees/whatever you did last time.

    Or you could be rad as all heck and use wget (if you have the linux).

    What I see sees me.
    SODOMISE INTOLERANCE
    Tide goes in. Tide goes out.
  • DVGDVG Registered User regular
    Are they all on the same page? If you don't mind installing ruby, watir webdriver could take care of that in no time

    Diablo 3 - DVG#1857
Sign In or Register to comment.