fajardm/scraperstore

A scraper that copies content from online store

dev-master / 1.0.x-dev 2016-04-16 10:15 UTC

This package is not auto-updated.

Last update: 2024-05-03 17:13:04 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

A scraper that copies content from online store.

Install

Via Composer

First install Goutte

$ composer require fajardm/scraperstore

Add providers

fajardm\ScraperStore\ScraperStoreServiceProvider::class,

Usage

Import

use fajardm\ScraperStore\Scraper;
$scrape = new Scrapper();
print_r($scrape->store("matahari_mall", "https://www.mataharimall.com/p-2/handphone?page=1&per_page=25&fq=brand_name:samsung"));

First parameter for store :

  1. Matahari Mall = matahari_mall
  2. Bhineka = bhineka
  3. Elevenia = elevenia

The second parameter is url that contains list product

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email :author_email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.