FriendsOfPHP / Goutte

Goutte, a simple PHP Web Scraper
MIT License
9.26k stars 1.01k forks source link

Read Data From String #357

Open prasetyo-jeanu opened 5 years ago

prasetyo-jeanu commented 5 years ago

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

sharmadhiraj commented 4 years ago

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