Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

php crawler for ajax based websites?

Maybe this is gonna sound naive and all, but is there something even remotely close to a php crawler for ajax based websites?

like image 880
Caballero Avatar asked Apr 09 '26 09:04

Caballero


1 Answers

The problem is that vanilla PHP doesn't understand how to parse JavaScript, generate the JavaScript environment, and interact with everything. In order to theoretically do it, you would have to extend PHP via the C API and interface it with a JavaScript library. The scale of this is quite large depending on how many resources you have.

like image 101
onteria_ Avatar answered Apr 11 '26 00:04

onteria_