How does the collection system implement a key acquisition?

Source: Internet
Author: User
To design and implement a collection system, how do you enter a list link address, and then automatically parse the article list and article content? Is there any good idea?

Reply content:

To design and implement a collection system, how do you enter a list link address, and then automatically parse the article list and article content? Is there any good idea?

See what you're collecting on the website, and then what language are you going to use?

Bash shell is relatively simple

It can be implemented using Python and writing crawlers.

Look at your tag is PHP, then the default you have to use PHP to do it.
Regular collectors are given a list of link addresses, and then get the content of the connection, followed by the regular, parse the beginning of the list of the end of the section.
Next, the contents of the list are cut, cut with a specific content, get a block of individual data, a regular match URL, etc.
Go to the details page to get what you want, store

It's not hard to do, but it takes patience.

  • 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.