Answer the question
In order to leave comments, you need to log in
How to make a bulletin board parser?
I want to make an ad parser in the form of a table.
I'm going to do it using Datacol, everything is ok, but there is one problem - I can't parse the phone number, because it only appears after clicking on it.
The site itself - https://krisha.kz/
Answer the question
In order to leave comments, you need to log in
Go to the ad page and look for this:
<span class="show-phones" id="tm-telephone-body" data-url="/a/ajaxPhones?id=28104015" data-id="28104015">
Показать телефон
</span>
data-url
and execute the request with the header XMLHttpRequest
:curl -X GET \
'https://krisha.kz/a/ajaxPhones?id=28104015' \
-H 'x-requested-with: XMLHttpRequest'
["+7 707 892 8095"]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question