recaptcha-solver icon indicating copy to clipboard operation
recaptcha-solver copied to clipboard

no such file or directory for wav file

Open vancelin opened this issue 3 years ago • 1 comments

Hello,

after I tried to solve the reCaptcha, then I got this message

[Error: ENOENT: no such file or directory, open '/var/folders/5k/103mnjwx2rncp6btbvlt5z980000gn/T/reSOLVER-9454634224111578/out.wav'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/folders/5k/103mnjwx2rncp6btbvlt5z980000gn/T/reSOLVER-9454634224111578/out.wav', name: 'ENOENTError' }

and I found there's a sound.mp3 file at that path, but not the Wav file.

thanks for this awesome library.

vancelin avatar Sep 01 '22 11:09 vancelin

It seems that the first part is working, but the conversion between mp3 and wav failed.

Please try the following two things:

  1. Check if ffmpeg is installed ffmpeg -version, if ffmpeg is not installed, you can use brew install ffmpeg to install it.
  2. Pass VERBOSE env var to enable debug mode, which will pipe the ffmpeg output to stdout. For example: VERBOSE=1 node path/to/js

JacobLinCool avatar Sep 01 '22 12:09 JacobLinCool