Answer the question
In order to leave comments, you need to log in
How to send a request if the element does not have a name tag?
Greetings.
I'm trying to solve the following problem: I need to get a list of dealerships from the site https://services.audi.ru/dealer-search/
The site has a field where you can specify the name of the city and there is a switch to the list view.
The problem is that the search field does not have a name tag and it is not possible to pass a value to it.
<input type="text" id="search" class="filter-item__input" placeholder="Поиск по городу или дилеру">
Answer the question
In order to leave comments, you need to log in
Nothing is sent there, the search is done by javascript according to the loaded full list.
The list itself is here (XML)
See what the browser sends and receives. It is worth paying attention to xhr requests:
https://services.audi.ru/api/dealer/list.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question