You could use a script like this one:
tell application "DEVONagent"
set theBrowser to browser 1
set theSource to source of theBrowser
set theURL to URL of theBrowser
set i to 0
repeat while i < cnt
set od to text item delimiters of AppleScript
set text item delimiters of AppleScript to "'"
set theLink to (text item 2 of theLink) as string
set text item delimiters of AppleScript to od
add download theLink referrer theURL
set i to i + 1
Thank you - that worked really well.