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

Read Data From String #357

Open
prasetyo-jeanu opened this issue Sep 20, 2018 · 1 comment
Open

Read Data From String #357

prasetyo-jeanu opened this issue Sep 20, 2018 · 1 comment

Comments

@prasetyo-jeanu
Copy link

how Goutte reads data from a string rather than reading data from the server
like
$crawler->str_get_html($string)

@sharmadhiraj
Copy link

You can do this.
$crawler = new Crawler($string);

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

2 participants