Hey Folks,

I have a query, it has been begging me to deal with it.

I, or my associates, have the need for a large-scale search appliance. I would like to end up with functionality similar to that of google.com, but I don't really care who's linking to who and why.

I need to build a spider, it doen't have to be very complicated, basically: open initial page submitted to be crawled, parse the page's output, gather links and image names and url's (build full URL's as we walk), get any non script/html text longer than x chars, add a database entry for that page, check each link gathered on page against a list of domains that we can't leave, discard the bads, follow the goods, and start over again. When we get lost or messup real bad, we die and start a child to pick up on the next link.

Simple.

Parsing the pages and checking the domains is easy. So is the database portions, well, all of this is easy.

My question is, has this been done already, do you guys recommend I dev this in perl, or should I look elsewhere? What are your thoughts/blessings/jeers

In reply to Perl Search Applicance by PyroX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.