Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rugaard/meta-scraper

Meta scraper is a package, that makes it easy to parse an URL and extract all the delicious meta data, that's usually hidden within the source.
https://github.com/rugaard/meta-scraper

facebook-insights meta-scraper open-graph scraper twitter-cards

Last synced: 3 days ago
JSON representation

Meta scraper is a package, that makes it easy to parse an URL and extract all the delicious meta data, that's usually hidden within the source.

Awesome Lists containing this project

README

        


Build status
Codecov status
StyleCI status
Latest Stable version
License

## 📝 Introduction

Meta scraper is a package, that makes it easy to parse an URL and extract all the delicious meta data, that's usually hidden within the source.

This package also adds support for automatically parsing of [Open Graph](http://ogp.me), [Twitter Cards](https://dev.twitter.com/cards/types) and [Facebook Insights](https://developers.facebook.com/docs/sharing/webmasters#basic). You can also implement your own parser to parse custom namespaces.

## ⚠️ Requirements

- PHP 7.0+
- cURL 7.19.4+ _(with OpenSSL and zlib)_ or make sure your `allow_url_fopen` is enabled in your systems `php.ini`

## 📦 Installation

The recommended way to install this package is through [Composer](https://getcomposer.org/), by using the following command:
```shell
composer require rugaard/meta-scraper
```

Alternatively, you can add the package by editing your projects existing `composer.json` file:
```json
{
"require": {
"rugaard/meta-scraper": "dev-master"
}
}
```

and then afterwards update [Composer](https://getcomposer.org/)s dependencies by using the following command:
```shell
composer update
```

## ⚙️ Usage

TODO: Write instructions

## 🚓 License

Meta scraper is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)