Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
awizemann committed Aug 22, 2021
1 parent 100ab51 commit c29b016
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ $ composer require awizemann/metascraper
```php
use awizemann\metascraper\Facades\MetaScraper;

return MetaScraper::scrape("http://www.yahoo.com");
$scraper = new MetaScraper;
return $scraper->scrape("https://yahoo.com");
```

This will return an array of all the meta for the given URL.

0 comments on commit c29b016

Please sign in to comment.