FriendsOfPHP / Goutte

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

I have got a problem for using goutte. if you know it, Can you help me? #370

Open M4Lien opened 5 years ago

M4Lien commented 5 years ago

I am using goutte to crawl big website. But I have got a problem. "a class="ss" href="/company" Barry Kudrowitz span class="overlay"> McKnight Land-Grant Associate Professor of Product Design/span /a" This is sample code. I want to get only "Barry Kudrowitz". In current I have got "Barry Kudowitz " and contect of span tag together. I don't need to get content of span tag Only "Barry Kudrowita". Let me know method. Can you help me? Thanks.

M4Lien commented 5 years ago

I have solved this problem. If someone has some problem for using goutte, Please upload it. I will help for you. Regards.