in reply to download url

This seems to fetch a complete page, minus graphic images.

perl -e"use LWP::Simple;print get('http://www.ugc.ac.in/inside/p rof_search.php?resultpage=1&search=%')" >page.html

Is that what you're after?


Dave

Replies are listed 'Best First'.
Re^2: download url
by bronto (Priest) on Sep 01, 2004 at 08:52 UTC

    Mh... why not:

    perl -MLWP::Simple -e "mirror('http://www.ugc.ac.in/inside/prof_search.php?resultpage=1&search=%','page.html')"

    Golf time? :-)

    Ciao!
    --bronto


    The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
    --John M. Dlugosz
Re^2: download url
by Anonymous Monk on Sep 01, 2004 at 08:23 UTC
    Yes, Thank you very much