phantombuster / nickjs

Web scraping library made by the Phantombuster team. Modern, simple & works on all websites. (Deprecated)
https://nickjs.org
ISC License
500 stars 48 forks source link

Ability to set custom Chrome flags on NickJS constructor #72

Closed TASnomad closed 4 years ago

TASnomad commented 4 years ago

Hello,

Could it be possible to set additionals Chrome flags when calling NickJS constructor (especially when using Chrome driver)?

On some scraping cases, Chrome flags used on _initialize method especially for the Chrome driver, are not enough to make a script working correctly.

Quick example: there is no way on NickJS to force a specific lang, --lang could let developers using specific languages when running NickJS.

NickJS constructor could have an optional argument using an array, something like puppeter.launch documentation.