GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - elijahcroft/web_crawler: A PHP-based web crawler that efficiently scrapes and indexes web content. It follows links, retrieves data, and stores it in a structured format. Features include customizable crawl depth, domain targeting, and robots.txt compliance. Perfect for building data pipelines or conducting web scraping projects.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
index.php
index.php
 
 
json
json
 
 
pages.json
pages.json
 
 

Repository files navigation

PHP Web Crawler

This is a basic web crawler built in PHP that navigates through web pages starting from a given URL. It extracts metadata such as titles, descriptions, and keywords from the pages it visits.

Features

  • Crawls web pages recursively starting from a given URL.
  • Extracts the following metadata:
    • Page Title
    • Meta Description
    • Meta Keywords
  • Resolves relative links to absolute URLs.
  • Handles edge cases like JavaScript links and duplicate URLs.
  • Outputs metadata in JSON format.
  • Tracks all visited URLs.

Prerequisites

  • PHP installed on your system (version 7.0 or higher).
  • A local or live server to host and test the crawler.

How to Use

  1. Clone the repository or download the script.
  2. Place the script in your server's directory (e.g., htdocs for XAMPP or similar).
  3. Update the $start variable with the URL you want to crawl. For example:
    $start = "http://example.com";

About

A PHP-based web crawler that efficiently scrapes and indexes web content. It follows links, retrieves data, and stores it in a structured format. Features include customizable crawl depth, domain targeting, and robots.txt compliance. Perfect for building data pipelines or conducting web scraping projects.

Topics

datascraperphp7webscraping

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.