PHP web crawler, how to solve

Source: Internet
Author: User
PHP web crawler
Do you have a master who has developed a similar program? I can give you some pointers. Functional requirements are automatically obtained from the site and then stored in the database. PHP web crawler Database Industry Data

Share to:


------Solution--------------------
Curl crawls to the target site, the regular or DOM gets the appropriate data, and then saves the database or file.
There is no such thing as too difficult. What you need to consider are:
Crawl strategy (crawl only specific domain names, depth first or breadth first).

Crawl efficiency (multi-threaded to crawl, how to assign the task of each crawler)

And so on .....

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.