ok, I am stumped... I am trying to grb info from a page.
the HTML source shows this
but the page displays a number (my current contest entries - yes I am a contest junkie! lol)Code:<span class='status' ng-hide='campaign.updating_worth > 0'> {{ contestantEntries() }} </span>
if i "Inspect Element" with Chrome I see
i want the 5764Code:<span class="status ng-binding" ng-hide="campaign.updating_worth > 0"> 5764 </span>
I tried parsing with xpath as
gets a nullCode:$tags = $xpath->query('//*[@id="current-entries"]/span[1]');
gets {{ contestantEntries() }} (plus other stuff)Code:$tags = $xpath->query('//span[@class="status"]');
I cant seem to get the actual value!
I need that 5764 - im sure its possible!!Code:<span class="square-describe mont" id="current-entries"> <span class="status ng-binding" ng-hide="campaign.updating_worth > 0"> 5764 </span>




Reply With Quote