CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate: download a "randomized file"?: Edit Log


Mar 8, 2017, 12:52 PM

Views: 4132
download a "randomized file"?

I am writing a script to check a web page for specific content using LWP::UserAgent and then download the links within. The problem is that the download link is like this:
When you click the link in a browser, the file gets downloaded by hitting that link but the filename itself is randomized. How do you download something like that?

I can't find any examples and at this point I have no code other than the content checker which is working without issue.

Does anyone know of a module that would support this type of download? Maybe LWP User Agent is not what I should be using.

(This post was edited by StarkRavingCalm on Mar 9, 2017, 11:58 AM)

Edit Log:
Post edited by StarkRavingCalm (User) on Mar 9, 2017, 11:58 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives