I\'m trying to scrape data from a drop down menu(Here is the link). During inspecting to get the xpath, I realized that the display is none. So is there any way to scrape da
The data you want to scrape gets populated via Ajax call. So, you need to find out the url of the Ajax call. Once, you get that ,your work is easy.
Follow the steps below.
In your case, it's a post request that happens over the fly.
Here is the pic of the call
Therefore, you need to find the url and the request parameters passed during the request.
You can see that the request parameters are as follows:
Now you got the url and data, it's just a matter of few lines of code.