【问题标题】:What's the meaning of ">" in the osmosis selector?渗透选择器中的“>”是什么意思?
【发布时间】:2018-03-04 16:17:49
【问题描述】:

我正在this page 阅读有关使用node-osmosis 的教程。

有人知道.paginate('#navcnt table tr > td a[href]', 5)中的>是什么意思吗?

我在document 页面中找不到这个符号的解释。

node-osmosis 的默认选择器是什么?它的github 页面说它支持 Sizzle 选择器、Slick 选择器等。

如何知道我现在使用的是哪个选择器?

【问题讨论】:

    标签: node.js web-scraping osmosis


    【解决方案1】:

    这是一个css选择器,意思是直接子。

    更多信息:How is the "greater than" or ">" character used in CSS?

    【讨论】:

      猜你喜欢
      • 2016-12-12
      • 2018-04-05
      • 2018-08-30
      • 1970-01-01
      • 1970-01-01
      • 2010-11-11
      • 1970-01-01
      相关资源
      最近更新 更多