fajardm / scraperstore
A scraper that copies content from online store
dev-master / 1.0.x-dev
2016-04-16 10:15 UTC
Requires
- php: ~5.5|~7.0
- illuminate/support: ~5.1
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2025-01-24 20:44:55 UTC
README
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 :
- Matahari Mall = matahari_mall
- Bhineka = bhineka
- 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.