GrabzIt
Tools to Capture and Convert the Web

How to fix the 'unclosed string' error?

As GrabzIt's Web Scraper uses JavaScript to define scrape instructions any written instructions need to use valid JavaScript. A common error that can occur is the unclosed string error, this is when a string does not have a closing quote as shown above or there is a line break in the string. The following are illegal strings:

"my
class"

"my class

To fix this issue simply ensure the strings are ended with the corresponding single or double quote as well as ensuring they do not contain line breaks, like so:

"my class" and "my class"

Back to SupportMore scraping questions
Try all our premium features for free with a 7 day free trial. Then from $5.99 a month, unless cancelled.
  • More Captures
  • More Features
  • More API's
  • Bigger Scrapes
  • Bigger Screenshots
  • Bigger Everything
Start Free Trial