/PoOr.Scraper

Simple PHP Script that parses, scrapes a given URL and return Open Graph Metatags, Title Tag, Descriptions and Images List of the given address

Primary LanguagePHP

PoOr.Scraper is a PHP Script that returns json string with Open Graph Metatags from a given URL.

Example

http://www.example.com/index.php?id=www.domaintoscrape.com

return:

{
	"description": "URL Description",
	"title": "URL Title",
	"url": "URL",
	"img": [
		"http://www.domaintoscrape.com/logo.jpg",
		"http://www.domaintoscrape.com/head.jpg",
		"http://www.domaintoscrape.com/img_5.jpg",
		"http://www.anotherdomain.com/img.jpg"
	]
}