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