GitXplorerGitXplorer
O

VdmScraper

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
b0e917ae12508a74c3216be947b036ee20d67f79

code refactoring

OOuadie committed 9 years ago
Unverified
4191c20819c33bb81517bad177417a79b849e08c

Updating readme file

OOuadie committed 9 years ago
Unverified
fefa52a4142cf5aaac0e95e29ea3ba84bd0e441f

- changing the default value to 200

OOuadie committed 9 years ago
Unverified
a63df32c2257357597ec624b0db0e4fd58ea9658

[hotfix] removing default-unused files

OOuadie committed 9 years ago
Unverified
e1cc286120aa33bb901e9457984daa305291ad9d

Merge pull request #4 from Ouadie/bugfix/remove-author-space

OOuadie committed 9 years ago
Unverified
bdb9e0744c30897eeb78952d2e99ec708d261732

[bugfix] removing the extra space at the end of the author name

OOuadie committed 9 years ago

README

The README file for this repository.

VdmScraper

A scraper of viedemerde.fr posts made with Lumen

Install

Install dependencies by running composer install.

Then run php artisan migrate to setup the database

Scraping

You can use the command php artisan scrap to get the latest posts from VDM website. you can also specify the number of posts by using the option --count[=COUNT] the default and max value is 200

Api

Use can request /api/posts to get all posts or /api/posts/{id} to get a specific post

Test

To run test use vendor/bin/phpunit

Lumen PHP Framework

Build Status Total Downloads Latest Stable Version Latest Unstable Version License