Skip to content

Instantly share code, notes, and snippets.

Created February 26, 2016 18:10
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Screen scraping with GraphiQL and gdom - /
page(url:"") {
title: text(selector:"title")
cards: query(selector:"div.poster-card") {
name: text(selector:"[itemprop=name]")
url: attr(selector:"meta[itemprop=url]", name:"content")
image_src: attr(selector:".js-poster-image", name:"src")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment