Download PDF Files

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
Before 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
Post Reply
petard001
Posts: 48
Joined: Fri Mar 19, 2010 8:04 am

Download PDF Files

Post by petard001 » Sat Jan 12, 2019 8:30 am

Hi and happy new year everybody

I'm using Firefox 55.0.2, Imacros VERSION BUILD=9030808 and Windows 10 (french)

I'd like to download some PDF files.

You'll find an exemple here : http://query.an.etat.lu/Query/detail.aspx?ID=707169

When I click on "CT-03-02-0056.pdf", another windows is opened and there is the PDF to download.

There are some pages and I'd like to download automaticaly.

I don't find how to do that...

Can you help me ?

Sorry for my bad English...
petard001
Posts: 48
Joined: Fri Mar 19, 2010 8:04 am

Re: Download PDF Files

Post by petard001 » Tue Jan 15, 2019 12:25 pm

petard001 wrote:
Sat Jan 12, 2019 8:30 am
Hi and happy new year everybody

I'm using Firefox 55.0.2, Imacros VERSION BUILD=9030808 and Windows 10 (french)

I'd like to download some PDF files.

You'll find an exemple here : http://query.an.etat.lu/Query/detail.aspx?ID=707169

When I click on "CT-03-02-0056.pdf", another windows is opened and there is the PDF to download.

There are some pages and I'd like to download automaticaly.

I don't find how to do that...

Can you help me ?

Sorry for my bad English...
Nobody to help me ?
petard001
Posts: 48
Joined: Fri Mar 19, 2010 8:04 am

Re: Download PDF Files

Post by petard001 » Tue Jan 15, 2019 1:04 pm

Another possibility is to download the "PDF" from the "URL" with

Code: Select all

ADD !EXTRACT {{!URLCURRENT}}
But i can't do it...
User avatar
thecoder2012
Posts: 405
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: Download PDF Files

Post by thecoder2012 » Thu Jul 04, 2019 11:03 am

petard001 wrote:
Sat Jan 12, 2019 8:30 am
I don't find how to do that...
Record and test it with your imacros.
petard001 wrote:
Sat Jan 12, 2019 8:30 am
Can you help me ?
Only with enough data as input.
petard001 wrote:
Tue Jan 15, 2019 1:04 pm
Another possibility is to download the "PDF" from the "URL" with

Code: Select all

ADD !EXTRACT {{!URLCURRENT}}
Urls, full test script and more is very helpful.
petard001 wrote:
Tue Jan 15, 2019 12:25 pm
But i can't do it...
Why not?

Example for your site and pdf file:

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
URL GOTO=http://query.an.etat.lu/Query/detail.aspx?ID=707169
ONDOWNLOAD FOLDER=* FILE=+_{{!NOW:yyyymmdd_hhnnss}} WAIT=YES
TAG POS=1 TYPE=A ATTR=TXT:CT-03-02-0056.pdf
Tested with Pale Moon 28.6.0 (64-Bit), iMacros 8.9.7, Win8.1 (64-Bit)
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
Post Reply