产品推广 cloudquery: 把任意网站变成 serverless API

timqian · 2019年03月19日 · 5844 次阅读

screenshot

API

Example url: https://cloudquery.t9t.io/query?url=https://news.ycombinator.com/best&selectors=:nth-child(1) > * > *:nth-child(2) > *:nth-child(2) > *:nth-child(1),:nth-child(3) *:nth-child(1) > *:nth-child(3) > *:nth-child(1)

Query params:

  • url: url of the webpage you want to fetch
  • selectors: css selectors describing the elements interests you

Returns:

  • innerText: element innerText
  • href: element href
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号