[Chicago-talk] Testing if Page exists.

David J. Young younda at gmail.com
Mon Mar 30 10:20:46 PDT 2015


You should be able to use a HTTP "HEAD" request instead of a "GET" or "POST"

ydy

-- 
There are only 10 types of people in the world; those that understand
binary and those that don't.



On Mon, Mar 30, 2015 at 12:10 PM, Jim Jacobus <JJacobus at ponyx.com> wrote:

>  At 11:46 AM 3/30/2015, you wrote:
>
>
>  On Mar 30, 2015, at 11:17 AM, Jim Jacobus <JJacobus at PonyX.com> wrote:
>
> Tried LWP::Simple and HTTP::Request with various results.
>
>
> What were those various results?  Did they not work for you?  What was
> wrong?
>
>
> LWP::Simple & LWP::Useragent returned the page, but the pages are fairly
> dense with a lot of embedded javascript, embedded forms and ads the are
> being served up. All of which I don't need. It's just taking a lot of time
> and memory. I was just looking for something that would just give me a 404
> or 200 or stop reading at the some place like the end of the /head tag. I'm
> trying to test out thousands of URLs which is the real problem. (This may
> not be possible.)
>
>
> --
> Andy Lester => www.petdance.com
>
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
>  http://mail.pm.org/mailman/listinfo/chicago-talk
>
>
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20150330/2ca31a74/attachment.html>


More information about the Chicago-talk mailing list