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.
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.