GDOM is the next generation of web-parsing, powered by GraphQL syntax and the Graphene framework.
docker run -p 8080:8080 palo/gdom
now have a look at localhost
You find some Examples on the project page. Here are some of mine:
;;; -*- mode: restclient; -*-
#
# classicprogrammingpaintings.com example
#
POST http://localhost:8080/graphql
Content-Type: application/graphql
{
page(url:"http://classicprogrammerpaintings.com") {
items: query(selector:"article.photo") {
title: text(selector:"p:eq(0)")
artist: text(selector:"p:eq(1)")
image: attr(selector:"img", name:"src")
}
}
}
As usual:
docker build -t gdom .
Content type
Image
Digest
Size
271.6 MB
Last updated
over 9 years ago
docker pull palo/gdom