Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Screen scraping with GraphiQL and gdom - http://gdom.graphene-python.org/ / https://github.com/syrusakbary/gdom/
{
page(url:"http://www.eventbrite.com/") {
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