Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

return Empty array #477

Open
aroon9002ahmed opened this issue Feb 17, 2023 · 0 comments
Open

return Empty array #477

aroon9002ahmed opened this issue Feb 17, 2023 · 0 comments

Comments

@aroon9002ahmed
Copy link

i have test in local is working but when i uploaded on website return me empty array !!
here is my test code:

$crawler = Goutte::request('GET', 'https://duckduckgo.com/html/?q=Laravel');
        $crawler->filter('.result__title .result__a')->each(function ($node) {
          dd($node->text());
        });

is there a special requirement on server?

Laravel Framework 9.52.0
PHP 8.1.15

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant