I am tryng to get the ,sold" info from eBay listing- Box with Tail Pipe Back Silencer Citroen C2 C3 C3 Pluriel GCN499 1.60875 CN499 5056107203856 | eBay. Here is the screenshot:
As you can see I want to get ,1 sold" text on the upper right corner of the screen. I am using the class ,vi-txt-underline" to get it, however it is not working. Has anyone knows how this can be done, using other attribute or other way?. Here is the code:
$sold = $html->find("#vi-text-unSderline", 0);
if($sold != null){
$item['sold'] = $sold->find("a", 0)->plaintext;
}else{
$item['sold'] = '';
I am using an array $item[] because I am also searching for more info before this part of the code.