Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to extract links from a webpage and store them in a mysql database

by g0n (Priest)
on Dec 05, 2006 at 12:53 UTC ( [id://587856]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $link (@a)
    {
      $dbh->do("INSERT INTO htmllinks VALUES ('$base',' $link')");
    }
    
  2. or download this
    +---------------------------------------------------------+
    | webpage               | htmllinks                       |
    ...
    |http://myurl.com       |   http://myurl.com/link_one/    |
    |http://myurl.com       |   http://myurl.com/link_two/    |
    +---------------------------------------------------------+
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://587856]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found