Re: Solvent bug?

From: David Huynh <>
Date: Tue, 03 Jan 2006 09:32:23 -0500

I think it's a bug in that template. If you take a look at these few
lines in the template:

var scrapeAnItem = function(
  doc, // the HTML document you are scraping from
  node, // the HTML DOM node that represents the item to
be scraped
  detailsPagesArray, // the array of details pages
) {

there is an extraneous comma after the last parameter. I think it is
causing the syntax error.

The code of these templates produce no output by default. You need to
fill them out. Take a look at the various comments inside them.


Csaba Veres wrote:
> I am not sure this is a bug so I will pose the question before I
> submit a bug report.
> I insert a code template to "scrape several pages with details pages"
> and when I try to run it (even without adding any extra code) I
> receive an error: SyntaxError: missing formal parameter. None of the
> other templates do this .. instead they say the code produces no output.
> Is this a bug, or am I supposed to specify something (in addition to
> the URL) to make this work?
> I am running Firefox 1.0.7, Linux -- Fedore Core 4.
> thanks, Csaba Veres
Received on Tue Jan 03 2006 - 14:32:14 EST

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT