Jump to content
UBot Underground

Dialogue Box Save As Functionality


Recommended Posts

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

Link to post
Share on other sites

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!

Link to post
Share on other sites

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!!

Link to post
Share on other sites

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

Link to post
Share on other sites

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...