php-article-extractor icon indicating copy to clipboard operation
php-article-extractor copied to clipboard

Fatal error: Uncaught Error: Class "Goose\Client"

Open veptune opened this issue 2 years ago • 0 comments

Hello,

I have installed the package with : composer require crscheid/php-article-extractor

But I got

Fatal error: Uncaught Error: Class "Goose\Client" not found in /Users/nicolas/Desktop/www/wordpress/wp-content/plugins/autocontent/vendor/crscheid/php-article-extractor/src/ArticleExtractor.php:50 Stack trace: #0 /Users/nicolas/Desktop/www/wordpress/wp-content/plugins/autocontent/autocontent.php(100): Cscheide\ArticleExtractor\ArticleExtractor->getArticleText('https://www.fas...')

It can't find Goose\Client

But I can see it in vendor/scotteh/php-goose

Any clue?

And by the way there is no "processURL" anymor, now it seems we have to use getArticleText. I think you should update the tutorial page :)

Thanks

veptune avatar Nov 10 '23 12:11 veptune