eclectic-tech beat me again, but I had my reply written when he posted his, so I post mine too (sorry eclectic-tech...)
FreeRaider wrote:Apart that RegExp is RegExp=(?siU)<p class='counter' id='counters_number_interval_5'>(.*)</p>.*, but it returns "loading..."
Normally. The piece of the html code containing the needed number is the following one:
Code: Select all
<div class='number'>
<p class='counter' id='counters_number_interval_5'>loading...</p>
<script>
number_interval(7490335971.327857, 2.538563344286236, 0, 'counters_number_interval_5')
</script>
You'd need the first number from the number_interval function. But the posted RegExp (
RegExp="(?siU)<p class='counter'>id= .*counters_number_interval_5'>(.*)</p>.*") should get the the string between the
id='counters_number_interval_5'> and
</p> parts of code. And this indeed is
loading... (as FreeRaider said). Better said, it would be, but finally not even that can't be get, because in your RegExp you have some extra characters/expressions (
RegExp="(?siU)<p class='counter'[color=#FF0000]>[/color]id=[color=#FF0000] .*[/color]counters_number_interval_5'>(.*)</p>.*"), which makes the plugin to not return anything.
Replace the RegExp with the following one:
RegExp=(?siU)<script>.*number_interval\((.*), .*, .*, 'counters_number_interval_.*'\).*</script>. This will return the proper number, but this will be a static number, which doesn't grows accordingly to the site.
Showing the increasing number is very hard to be made accurately, because you should parse the site on each second. Beyond from the fact that the WebParser plugin can't get the data so quickly (it needs some time to parse the site), even if it could, probably sooner or later you would be blocked (read the Note
here).