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

return Empty array #477

@aroon9002ahmed

Description

@aroon9002ahmed

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions