mardi 29 mars 2016

How to get h1 font-size using xpath and Python?

i am scrapping a local web journal. In this project, i am trying to figure out what is the headline of the day, in order to do that i have to select the h1, h2 or h3 element which has the highest font-size value using xpath and Python. Can anyone help me building the path expression to accomplish this task?




Aucun commentaire:

Enregistrer un commentaire