Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Allow pre-download of zip file #38

Open
muttonchop opened this issue Dec 4, 2024 · 2 comments
Open

[Feature]: Allow pre-download of zip file #38

muttonchop opened this issue Dec 4, 2024 · 2 comments

Comments

@muttonchop
Copy link

We are building our scraper in a container that has a normalized build process. It'd be much easier to frontload the .zip file download in this build script than at runtime. This feature request is for the following:

  1. Separate the download and extract functionality in engine.js

  2. Expose these functions to be able to run them in a build script

For example: node -e "const lib = require('browser-with-fingerprints'); lib.downLoadEngine('<some path>'); lib.prepareEngine('<some path>');"

@muttonchop
Copy link
Author

Any update or feedback on this?

@CheshireCaat
Copy link
Owner

You can do this without waiting for updates with such functionality - I'll think about making it more convenient, but it won't be a priority. Downloading usually takes the most time, all that is required is to download the archive using this link:

http://downloads.bablosoft.com/distr/FastExecuteScript64/VERSION/FastExecuteScript.x64.zip

This archive should be placed in the working folder at the following path:

data/engine/VERSION/FastExecuteScript.x64.zip

The VERSION must be replaced with the actual project version (currently it's 28.1.2, it can be found here).

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

No branches or pull requests

2 participants