Skip to content

Commit

Permalink
Update composer requirements: Scrapher should work with php 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurentvw committed Apr 29, 2015
1 parent a644e9d commit f340bed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ In some cases, you may want to add (read: append) URLs or contents on the fly.

```php
$scrapher->addUrl($url);
$scrapher->addUrls([$url, $url2]);
$scrapher->addUrls(array($url, $url2));
$scrapher->addContent($content);
$scrapher->addContents([$content, $content2]);
$scrapher->addContents(array($content, $content2));
```

### Matching data using a Selector
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "laurentvw/scrapher",
"type": "library",
"description": "A PHP library to easily scrape data from web pages",
"description": "A web scraper for PHP to easily extract data from web pages",
"keywords": ["scraper", "scraping", "scrape", "extract", "extractor", "crawler", "crawling", "match", "matcher", "parse", "parser", "data", "mining", "harvest", "text", "content", "spider"],
"homepage": "http://github.com/Laurentvw/scrapher",
"require": {
"php": ">=5.4.0"
"php": ">=5.3.0"
},
"license": "MIT",
"authors": [
Expand Down

0 comments on commit f340bed

Please sign in to comment.