a php scrapping class