Legend 181 Posted January 23, 2012 Report Share Posted January 23, 2012 On a page such as:http://www.bookrags....ide-matchmaker/ is it possible to do a right click on the pdf download and saveas to a file name variable? Perhaps something with javascript? http://ubotstudio.com/forum/public/style_emoticons/default/blink.gif Thanks!http://ubotstudio.com/forum/public/style_emoticons/default/smile.gif Quote Link to post Share on other sites
pftg4 102 Posted January 23, 2012 Report Share Posted January 23, 2012 download file("http://www.bookrags.com/subscribe/getpdf.php?p=guides&u=matchmaker", "C:\\Users\\Dave\\Desktop\\test.pdf") you will need to change save file path,no javascript needed Pftg4 Quote Link to post Share on other sites
JohnB 255 Posted January 23, 2012 Report Share Posted January 23, 2012 It looks like this will universally download the pdf's...it worked on about 20 that I tried... download file($scrape attribute($element offset(<tagname="a">, 76), "href"), "{$special folder("Desktop")}/mypdf.pdf") replace mypdf.pdf with {#variable}.pdf John @Dave I am familiar with this script and knew it was in a loop, which is why I posted the additional code. And how are you? Haven't talked in while! Quote Link to post Share on other sites
Legend 181 Posted January 24, 2012 Author Report Share Posted January 24, 2012 Hey guys... thanks for the download file sample... it is awesome!@John...of the 20 pdfs that you were able to scrape, are you able to open any of them? I was getting an error when trying to open them and found it was actually scraping an .rtf formatted copy of the page it was currently on. Are you getting the same thing?Thanks again for the help guys!! Quote Link to post Share on other sites
JohnB 255 Posted January 24, 2012 Report Share Posted January 24, 2012 Hmmm...actually, yes, despite showing the pdf's they won't actually open. But in looking further, if you click on the pdf link it takes you (me anyhow) to a payment page. John Quote Link to post Share on other sites
Legend 181 Posted January 24, 2012 Author Report Share Posted January 24, 2012 Hmmm...actually, yes, despite showing the pdf's they won't actually open. But in looking further, if you click on the pdf link it takes you (me anyhow) to a payment page. John Its a password protected site but I can shoot you out the log in details if you'd like to take a look. Quote Link to post Share on other sites
JohnB 255 Posted January 24, 2012 Report Share Posted January 24, 2012 So you can download the pdf's as a member? John Quote Link to post Share on other sites
Legend 181 Posted January 24, 2012 Author Report Share Posted January 24, 2012 Yes... http://ubotstudio.com/forum/public/style_emoticons/default/smile.gif Quote Link to post Share on other sites
Legend 181 Posted January 25, 2012 Author Report Share Posted January 25, 2012 Never mind... iMacros has this functionality built in and blew through it in no time... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.