Skip to content

StathisP-s/php-web-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕷 PHP Web Scraper Tool

This is a simple yet professional web scraper built with pure PHP.
It extracts the title, meta description, and preview image from any public webpage.


✅ Features

  • Input any public URL via form
  • Extract:
    • Title (<title>)
    • Meta description (<meta name="description" or og:description>)
    • Image (og:image)
  • Store scraped data in data/scrapedData.json
  • Clean UI with responsive layout
  • UTF-8 compatible (works great with Greek, Cyrillic, etc.)

📸 Demo

Input Form Scraping Result
form result

🛠 How to Run Locally

  1. Install XAMPP
  2. Clone or download this repo into your htdocs folder:

🚀 Bonus Ideas for Extension

  • Export to CSV
  • Add error logs
  • Support JSON-LD or structured data
  • Add favicon or dark mode

About

Simple PHP web scraper with form input and JSON export

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published