Element //form in XPath


#1

Hi all!

On this site we have 3 elements:
//form[1]/table[1]/tbody[1]/tr[1]
//form[1]/table[1]/tbody[1]/tr[2]
//form[1]/table[1]/tbody[1]/tr[3]

Total:
XPathOnUrl(site;element)=0
Connector("PhantomJsCloud.XPath";site;element;;TRUE;"us")=0

How to solve this problem?


#2

Can you explain in more detail what you wish to scrape and what the problem is?


#3

I need to get this information via XPath-formula:

Фундамент 14.0 последнее изменение 15.12.17 .................................. скачать 7.85 Мб
BASE 10.0 последнее изменение 05.04.18 .................................. скачать 14.6 Мб
Плита 6.0 последнее изменение 14.11.16 .................................. скачать 7.52 Мб

#4

For example:


#5

And how to get the whole line "Фундамент 14.0 последнее изменение 15.12.17"?
I use the XPath Generator and it offers me one way: //form[1]/table[1]/tbody[1]/tr[1].
Why such a query method SeoTools doesn't see?


#6

That table is weird with Xpaths. Worked to go backwards like this:

I recommend reading this page and experimenting until you get the right result in the future:
https://www.w3schools.com/xml/xpath_syntax.asp


#7

The right result gives userfound1.php, userbase1.php, userplate1.php.
Thank you very much!!!