cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: PDF links

From: Richard Lynch <ceo_at_l-i-e.com>
Date: Thu, 17 Jan 2008 14:49:59 -0600 (CST)

The FireFox folks have a program called webmonkey or somesuch that
let's you run the Javascript and capture it's output...

That may be more useful than you trying to do it by hand.

Or not, as webmonkey has some limitations...

Worth investigating, probably.

On Thu, January 3, 2008 5:09 pm, Colleen R. Dick wrote:
> I didn't see him indicate that he cares about analyzing whats in the
> PDF, he just wants the bot to be able to download it to the host that
> its running on.
>
> I could say the same about csv files. Of course I'm having trouble
> getting the app to spit them out in the first place from curl. It
> calls
> a javascript and I have to simulate everything it does.
>
>
>
> Ralph, have you tried? What code have you tried and what is the
> result?
>
> Ralph Seward wrote:
>> Dear Folks,
>>
>> I am currently developing a web bot using php/curl and I have a
>> question to throw out. Many times I will come across a link to a pdf
>> file that appears just like a link to a web page. For example,
>> http://www.somesite/healthcenter/ImmunizationForm.pdf. Click on this
>> link, and in Firefox a popup-like window will appear asking "What
>> should Firefox do with this file?" with the options of Open or Save
>> to
>> Disk.
>> Now, is it possible to follow such a link through curl and have the
>> pdf file saved to disk? Has anyone ever succeeded in doing anything
>> with a pdf through curl?
>> Thanks in advance.
>> Ralph J Seward
>>
>> ------------------------------------------------------------------------
>> Get the power of Windows + Web with the new Windows Live. Get it
>> now!
>> <http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-01-17