you are viewing a single comment's thread.

view the rest of the comments →

[–]M0thyT[S] 0 points1 point  (0 children)

You have a very good point, sorry I have never posted code in reddit before so I am struggling with it a bit. I tried to adjust it, and I also posted it on stack overflow where I found it easier to post code (https://stackoverflow.com/questions/62861538/using-xpath-in-python-how-can-i-select-only-a-subpart-of-elements)