learn / Term explained
EN

Collection basics · Terminology explanation

Web crawling

Web crawling

Common writing methods: crawling, crawler

What it means

Discovering and visiting web pages by following links or a task queue, with a focus on deciding which pages to visit and how to schedule requests.

Crawling usually starts from a set of starting URLs, hands newly discovered links to the scheduler, and requests pages in turn. Scope limits, deduplication, priority, and access frequency determine where the crawler will go.

Crawling is responsible for discovering and obtaining pages, while data collection is more concerned with which fields to extract from the page. A project can contain both parts, or it can just deal with a list of prepared URLs.

In a scraping task

Go from category page to product page

The task first visits a product category page, finds product details and next page links, and then adds URLs that match the range to the queue. Whether to crawl off-site links and whether to repeatedly visit old pages needs to be set separately.

Common misconceptions

  • Visiting many pages does not mean that usable data has been extracted.
  • The crawler should not default to infinite expansion along all links; the collection range and stopping conditions are part of the task.

References

Organized by Northleaf Studio. The source link retains the original address to facilitate continued reading.

Back to glossary