How to extract data from dependent dropdown

I want to extract data from the dependent dropdown of https://www.bullseyecarparts.co.uk/

On the left, you can see select make and then select model. One dropdown is dependent on other. How can i extract all possible data from both the dropdown

Posted by 12 months ago


When you select something in first drop down the next is populated using a AJAX call. You can easily see that in chrome developer mode(press F12). Just use these internal page URL and get the value you want to extract to make the combination.

For example when I selected "Triumph" in first drop down a XHR request is sent to server which received the below data which was inserted in the next drop down.

https://www.bullseyecarparts.co.uk/car/models?make=Triumph

["2000","2500","Acclaim","Dolomite","GT6","Herald","Spitfire","Stag","Toledo","TR5","TR6","TR7","TR8","Vitesse"]

drop down scraping

Posted by 12 months ago

Topic Closed! This question is closed and don't accept posts now.

Close me