Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.

Forum rulesBefore asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

I am trying to extract a URL from a link, and then tell iMacros to "download"/"save target as" the URL it extracts, and download the file from that URL.
Specifically, I am trying to retrieve the second link (the PDF file), named "*":

Specifically, when I use the "record" feature in iMacros and click on the link it retrieves the link as:

But what code do I use to tell iMacros to:
1) take that actual URL it extracts and
2) use that actual URL it extracts, and then "download"/"save target as" that actual URL, so that the PDF that actual URL links to (since the actual URL ends in ".PDF") actually downloads the PDF file?

EDIT 1: Updated to edit out some extraneous information.
EDIT 2: Chivracq, I updated my original post to remove some extraneous information if you would please edit your reply to requote my updated edited post to reflect the extraneous information removed I would appreciate. Once your reply is edited to requote my updated edited post; I can then post my solution to this post that I was able to solve thanks to you, so others can benefit.

Last edited by iMacrosScripter on Wed Feb 28, 2018 12:25 pm, edited 5 times in total.

I am trying to extract a URL from a link, and then tell iMacros to "download"/"save target as" the URL it extracts, and download the file from that URL.
Specifically, I am trying to retrieve the second link (the PDF file), named "*":

Specifically, when I use the "record" feature in iMacros and click on the link it retrieves the link as:

But what code do I use to tell iMacros to:
1) take that actual URL it extracts and
2) use that actual URL it extracts, and then "download"/"save target as" that actual URL, so that the PDF that actual URL links to (since the actual URL ends in ".PDF") actually downloads the PDF file?

iMacroScripter wrote:EDIT 1: Updated to edit out some extraneous information.
EDIT 2: Chivracq, I updated my original post to remove some extraneous information if you would please edit your reply to requote my updated edited post to reflect the extraneous information removed I would appreciate. Once your reply is edited to requote my updated edited post; I can then post my solution to this post that I was able to solve thanks to you, so others can benefit.

(No need to open Duplicate Threads btw when you want to start a Thread, but I guess this was an involuntary Mistake... (I've deleted your Duplicate...))

Last edited by chivracq on Thu Mar 01, 2018 6:44 pm, edited 1 time in total.

- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...

EDIT: Chivracq, Please edit your above reply to requote my updated edited original post as I have removed the extraneous information that needed to be removed.

The solution that solved this problem is listed below with thanks to Chivracq.

The insight here was to realize that Firefox will not populate a "download save to" window if the preference in Options>Applications is not set to "Always Ask" as that is what caused the PDF from not downloading and instead opening the PDF file in Firefox directly:Firefox Options>Applications

iMacroScripter wrote:EDIT: Chivracq, Please edit your above reply to requote my updated edited original post as I have removed the extraneous information that needed to be removed.

Yep, done..., even if that was a bit of a hassle..., and a bit useless in my Opinion as you keep posting your Screenshots on some external Image Hosting Server where your original Screenshot can still be found + about 300 Backups if they make 1 Backup per day, ah-ah...!
And your Data was "safe", anybody trying to access your '.PDF' Report would first need to log in to that PeopleSoft Server...

iMacroScripter wrote:The solution that solved this problem is listed below with thanks to Chivracq.

The insight here was to realize that Firefox will not populate a "download save to" window if the preference in Options>Applications is not set to "Always Ask" as that is what caused the PDF from not downloading and instead opening in Firefox directly:Firefox Options>Applications

OK, good, and Thanks for sharing the Solution and your final Script (10 months later, ah-ah...!), and yep, the "Always ask" is indeed mentioned in the FAQ...

- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...