2014-03-13, 09:06
I would like to have the scraper for my own site (i.e. I can control what the site returns).
Is there any scraper template which I can use to simplify my work?
Since this is my own site, as far as I understand, I don't need to parse it - I can return results in the needed format (json, xml, etc.)
Reading the docs, looks like I can just return the info in the required format. For ex., the movie info will be in xml:
Is there any scraper template which I can use to simplify my work?
Since this is my own site, as far as I understand, I don't need to parse it - I can return results in the needed format (json, xml, etc.)
Reading the docs, looks like I can just return the info in the required format. For ex., the movie info will be in xml:
Code:
<details>
<title></title>
<year></year>
<director></director>
<top250></top250>
<mpaa></mpaa>
<tagline></tagline>
<runtime></runtime>
<thumb></thumb>
<credits></credits>
<rating></rating>
<votes></votes>
<genre></genre>
<actor>
<name></name>
<role></role>
</actor>
<outline></outline>
<plot></plot>
</details>