I have not found any documentation nor tutorial for that. Does anything like that exist?
doc.xpath('//table/tbody[@id="threadbits_forum_251"]/tr')
the code above will get me any table, anywhere, that has a tbody child with the attribute id equal to threadbits_forum_251. But why does it start with double //? why there is /tr at the end? See for more details
Could anybody tell me how to extract href, id, alt, src etc using nokogiri?
td[3]/div[1]/a/text()' <--- extracts text
but how can I extract other things?