This library provides kind of a framework and a lot of ready-to-use, so-called steps, that you can use as building blocks, to build your own crawlers and scrapers with. Before diving into the library, let's have a look at the terms crawling and scraping. For most real-world use cases, those two things go hand in hand, which is why this library helps with and combines both. A (web) crawler is a program that (down)loads documents and follows the links in it to load them as well. A crawler could just load actually all links it is finding (and is allowed to load according to the robots.txt file), then it would just load the whole internet (if the URL(s) it starts with are no dead end). Or it can be restricted to load only links matching certain criteria (on same domain/host, URL path starts with "/foo",...) or only to a certain depth. A depth of 3 means 3 levels deep. Links found on the initial URLs provided to the crawler are level 1 and so on.

Features

  • Crawler Politeness (respecting robots.txt, throttling,...)
  • Get absolute links from HTML documents
  • Get sitemaps from robots.txt and get all URLs from those sitemaps
  • Crawl (load) all pages of a website
  • Use any HTTP methods (GET, POST,...) and send any headers or body
  • Iterate over paginated list pages

Project Samples

Project Activity

See All Activity >

Categories

Web Scrapers

License

MIT License

Follow crwlr

crwlr Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of crwlr!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Web Scrapers

Registered

2023-04-12