 				records.push record
 				fs.appendFile("output.json", (if counter++>0 then ",\n" else "") + JSON.stringify(record,null,1))
 				console.log("#{counter}. Processed #{record.uri} (id=#{record.id})")
+				return
+			if record.id=="1"
 				return
 
 			record.abstract = $("#bodyContent>p:first").text().replace("\\n","").trim()

		return 

c = new Crawler {
	"maxConnections": 5,
	"skipDuplicates": true,
	# When finished, close the array in the output file
	"onDrain": ->


# Queue all link from pages that we already visited
for r in records
	if r.links
		for l in r.links
			checkForQueue l.href

console.log("Queued URLs: " + queued)
console.log("Records loaded: #{records.length}")
