Skip to content

Conversation

@curtisatiwatt
Copy link

Fix a problem with double quotes "" and other potential problem with the name, while preserving special recipe names such as
Beef Ragù Spaghetti.pdf

Error shown below:

C:\git\HelloFreshCrawler\services\hello-fresh.js:137
          if (err) throw err;
                   ^

[Error: ENOENT: no such file or directory, open 'C:\git\HelloFreshCrawler\downloads\"Little Ears" Pasta.pdf'] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\git\\HelloFreshCrawler\\downloads\\"Little Ears" Pasta.pdf'
}

Node.js v21.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant