Y
Y
Yoshii10002021-03-19 17:03:12
JavaScript
Yoshii1000, 2021-03-19 17:03:12

How to parse the number of pageviews if the counter is done with JavaScript?

Hello!

The task is to parse the number of page views (many) from a competitor site.

It is impossible to use Xpath Screaming Frog, because, as it turned out, the counter is implemented by a JS script

<script type="e56345409aee0b2339d6ab42-text/javascript">
        window.viewCounterObj = window.viewCounterObj || {};
        viewCounterObj['1472747'] = '1472744';
</script>


Who will tell you how and with what help to parse this information?

I’ll make a reservation right away - I don’t know how to code at all, so the suggestions “write a parser” do not fit.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mors Clamor, 2021-03-19
@66demon666

I’ll make a reservation right away - I don’t know how to code at all, so the suggestions “write a parser” do not fit.

vot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question