A
A
Alexander2020-07-18 13:06:24
Python
Alexander, 2020-07-18 13:06:24

How to parse a list of dynamically generated sentences below the search bar?

Situation - there is a search bar on the website of some store. When typed into the query string, a list of suggestions is shown to the user before the search begins. The list is generated dynamically as each letter is entered into the search string.

This is the list that needs to be parsed. I don't think it's a good idea to use selenium because it's for tests and also slow for a task.
Are there any other options ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-07-18
@aleks0010

Look in the browser through the developer tools XHR requests on the Network tab - perhaps this will be enough

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question