Che Posted May 23, 2016 Report Share Posted May 23, 2016 (edited) click ( "//a[@title='PHP']" ) // Click the PHP search result Ce anume face //a[@ sau cum a aflat de asta ? Ce anume este mai exact ? De ce a si de ce nu b, de exemplu ? De ce // in fata si nu fara ? Multumesc ! Edited May 23, 2016 by Che Quote Link to comment Share on other sites More sharing options...
Active Members MrGrj Posted May 23, 2016 Active Members Report Share Posted May 23, 2016 (edited) Nu ma pricep la PHP, insa asemanator, in Python, se face match / scrapping pe cod HTML / XML folosind xpath. Teoretic, codul asta ar face match (banuiesc ca functia click va face click pe link) pe tag-urile HTML, de tipul <a>, care contin atributul title. Gasesti mai multe aici Ca un rezumat: // - defineste un path catre "nodul" / "tagul" <a> oriunde in HTML / XML. @ - e doar un indicator catre atributul cautat ( in cazul tau, title ) Repet, nu stiu daca e vorba de acelasi lucru, dar seamana Edited May 23, 2016 by MrGrj 1 Quote Link to comment Share on other sites More sharing options...
Che Posted May 23, 2016 Author Report Share Posted May 23, 2016 Multumesc mult ! Quote Link to comment Share on other sites More sharing options...