1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP / cURL Page Scraping Script

Discussion in 'PHP & Perl' started by markdigerati, Dec 18, 2008.

  1. markdigerati

    markdigerati Junior Member

    Joined:
    Nov 21, 2007
    Messages:
    113
    Likes Received:
    28
    I just posted this to help some guy with an imdb scraper.

    If it helps, I've just published a PHP/cURL class that allows you to scrape web pages and pull out specific information within tags (i.e. <title> <a href>) and store them.

    It's pretty much the basis for any scraper. If anyone has improvements, let me know. I don't claim to be an elite coder - so there might be a way to make it more efficient.

    Anyway, for those who need it: PHP/cURL Scraper
     
    • Thanks Thanks x 1
  2. Essential Clix

    Essential Clix Executive VIP Premium Member

    Joined:
    Jul 30, 2007
    Messages:
    1,755
    Likes Received:
    2,791
    Location:
    USA
    Thanks for the addition. Moving this to the PHP section.
     
  3. markdigerati

    markdigerati Junior Member

    Joined:
    Nov 21, 2007
    Messages:
    113
    Likes Received:
    28
    Thanks, apologies for section fail.