node.jsweb-scrapingosmosis

What's the meaning of ">" in the osmosis selector?


I'm reading a tutorial about using node-osmosis at this page.

Does anyone know the meaning of > in .paginate('#navcnt table tr > td a[href]', 5)?

I cannot find the explanation of this symbol in the document page.

What's the default selector of node-osmosis? Its github page says it supports Sizzle selectors, Slick selectors, and more.

How to know which selector I'm using now?


Solution

  • It's a css selector, it means direct child.

    More information: How is the "greater than" or ">" character used in CSS?