mercredi 5 juin 2019

Extraction of data from a website containing map element using python

Need to extract some information from a website in which after i select a particular village it displays the map of the village and some points (markers as in google maps), when i click a point it displays the information related to that point in a table as popup.

From inspect in google chrome, i found that when a point is clicked, div id="food_contentDiv" class="framedPopupContent" appears within which table tag is present which contains tbody within that tr tag is present and it contains the necessary data tr td S.No /td td some number /td /tr tr td Collection /td td some number /td /tr

So for each point clicked the values associated with that point ALONE appears.

So is there any way of extracting the information from table of all points using python into a csv form iterating through all the points automatically?




Aucun commentaire:

Enregistrer un commentaire