[{"data":1,"prerenderedAt":152},["ShallowReactive",2],{"project-11178659":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":33,"aspects":34,"strip":37,"post_text":28,"what":39,"said":48,"maker_in_thread":88,"shape":93,"grid":96,"attempts":114,"same_week":115,"maker_shows":144,"maker_hidden":145,"reader_version":146,"card":147},"11178659","GDOM","GraphQL for DOM traversing","title","Show HN: GDOM – GraphQL for DOM traversing","https:\u002F\u002Fgithub.com\u002Fsyrusakbary\u002Fgdom\u002F?","github.com","syrusakbary",1456442477,2016,78,8,494,2264,22,"notable","dev_tools","web scraping","library",[24,25,21,26],"graphql","dom traversal","html parsing","quiet",null,{"positive":30,"neutral":31,"mixed":32,"critical":31},2,0,1,3,{"idea":35,"execution":36},{"positive":31,"critical":31},{"positive":32,"critical":31},[33,38,31,31,31,31,31,38],5,{"problem":40,"audience":28,"pricing":28,"motivation":28,"time_to_build":28,"stack":46,"openness":47,"stage":47,"team_size":47},{"value":41,"source":42,"evidence":43},"Querying and traversing DOM documents with a GraphQL-like syntax","inferred",[44],{"id":45},"post",[],"unknown",{"praise":49,"objections":62,"requests":74,"questions":86,"alternatives":87},[50],{"value":51,"source":52,"evidence":53},"Nice and interesting project","commenter",[54,58],{"id":55,"by":56,"text":57},"11181387","flaie","This is a nice and interesting project! Obviously, I had to do it for HN: ``` { page(url:\"https:\u002F\u002Fnews.ycombinator.com\") { items: query(selector:\"tr.athing\") { rank:…",{"id":59,"by":60,"text":61},"11180532","geniium","Interesting!",[63],{"value":64,"source":52,"evidence":65},"DOM described as a tree, not a graph, so the name is questioned",[66,70],{"id":67,"by":68,"text":69},"11180836","dustingetz","The DOM is a tree not a graph",{"id":71,"by":72,"text":73},"11181593","masklinn","The DOM is not a tree, there are links between siblings and from any node to the origin.",[75,82],{"value":76,"source":52,"evidence":77},"Add a callback to transform results, such as prefixing relative URLs",[78],{"id":79,"by":80,"text":81},"11180732","lepunk","very nice. one thing i'm missing tho is a callback functionality. for example i did a quick scraper for tesco.com ``` {…",{"value":83,"source":52,"evidence":84},"Support for selecting the next sibling element",[85],{"id":55,"by":56,"text":57},[],[],{"comments":32,"answered":31,"key":89},[90],{"id":91,"text":92},"11183176","Makes sense! Merging soon :)",{"commenters":15,"max_depth":30,"maker_replies":32,"first_comment_mins":94,"lifespan_hours":95},590,19,[97,99,101,103,105,108,111,112],[79,31,33,98,80,31],"project\u002Fmixed\u002Fidea",[55,32,38,100,56,31],"project\u002Fpositive\u002Fexecution",[91,32,31,102,11,32],"maker\u002Fpositive\u002Fnone",[67,30,31,104,68,31],"commenter\u002Fneutral\u002Fnone",[106,30,31,104,107,31],"11180874","Gigablah",[109,30,31,104,110,31],"11181054","phpnode",[71,30,31,104,72,31],[59,33,38,113,60,31],"project\u002Fpositive\u002Fnone",[],[116,121,126,130,135,139],{"id":117,"name":118,"points":119,"category":120},"11213475","Flexbox Defense",243,"learning_science",{"id":122,"name":123,"points":124,"category":125},"11192398","Bitfly",239,"security_privacy",{"id":127,"name":128,"points":129,"category":20},"11211344","Sensible Bash",173,{"id":131,"name":132,"points":133,"category":134},"11187507","Wifi",153,"consumer_social",{"id":136,"name":137,"points":138,"category":125},"11188686","siga",149,{"id":140,"name":141,"points":142,"category":143},"11174815","CuriosityStream",129,"web_saas",7,false,"v2",{"id":148,"name":5,"line":6,"ai":145,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":28,"top":18,"kw":149,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":150,"url":9,"mix":151,"praise":51,"objection":64,"sub":21},11178659,[24,25,21,26],"35000005",[30,31,32,31],1794036541396]