Skip to content

Commit

Permalink
Remove tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shevabam committed Nov 8, 2022
1 parent 89fb1e3 commit ac990e9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ require 'vendor/autoload.php';

$url = 'https://www.gadgets360.com/science/news/blue-origin-jeff-bezos-new-shepard-ns-23-nasa-3339832';

$x = new \PhpExtractMetaUrl($url);
$x = new \PhpExtractMetaUrl\PhpExtractMetaUrl($url);
$x->setFormat('array'); // default: json
$result = $x->extract();

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"license": "GPL-3.0-only",
"version": "1.0.2",
"version": "1.0.3",
"minimum-stability": "stable",
"require": {
"php": ">=7.4.0",
Expand Down
12 changes: 0 additions & 12 deletions src/PhpExtractMetaUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,3 @@ private function curlGetContent()
}



$url = 'https://blog.shevarezo.fr/post/2022/10/27/textify-copier-texte-normalement-incopiable';
$url = 'https://github.com/rollbackpt/URLExtractor';
$url = 'https://korben.info/comment-sauvegarder-un-disque-reseau-nas-vers-backblaze.html';
$url = 'https://www.gadgets360.com/science/news/blue-origin-jeff-bezos-new-shepard-ns-23-nasa-3339832';

$x = new PhpExtractMetaUrl($url);
$x->setFormat('array');
$result = $x->extract();

echo '<pre>';
print_r($result);

0 comments on commit ac990e9

Please sign in to comment.