Answer the question
In order to leave comments, you need to log in
Would a declarative parsing method be convenient?
It would be convenient for someone to use a tool with which one could, for example, parse certain pages from habr, including internal content, using the following input data:
{
"__url__": "'http://habrahabr.ru/page{{1,1,5}}/'",
"posts": {
"__iterator__": ".post",
"name": "{{.post_title}}",
"content": {
"__follow__": "{{.post_title | first | attr_href}}",
"post_body": "{{.content}}",
"author": "{{.author > a}}",
"comments": "{{#comments}}"
}
}
}
Answer the question
In order to leave comments, you need to log in
Many sites generate a lot of things using js.
If your gem analyzes not stupidly the source code of the page, but climbs a completely generated house-tree, it will be very cool.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question