Hello,
I'm a new user of this API.
I will like to know if it's possible to extract and modify a specific attribute? and without knowing the element to which it belongs ?
Exemple : ----------------------------------- <p class="title1">blablablalba</p>
<b class ="title2">toudoutoudut</b>
<??? class ="title3">dkfsdkfd<????> ------------------------------------
I want to extract :
- class = "title1" - class = "title2" - class = "title3"
and change the values of attributes.
Have you an example to give me? thanks for your help !
Log in to post a comment.
Hello,
I'm a new user of this API.
I will like to know if it's possible to extract and modify a specific attribute?
and without knowing the element to which it belongs ?
Exemple :
-----------------------------------
<p class="title1">blablablalba</p>
<b class ="title2">toudoutoudut</b>
<??? class ="title3">dkfsdkfd<????>
------------------------------------
I want to extract :
- class = "title1"
- class = "title2"
- class = "title3"
and change the values of attributes.
Have you an example to give me?
thanks for your help !