Closed carlosqsilva closed 11 months ago
This is a good idea I also had in my head. Ideally it should be possible to use cli flags to override or set any configuration option.
@carlosqsilva Support for CLI arguments has been added. You can now set or override any config option via a CLI flag, e.g:
flyscrape run example.js --url "http://other.com"
flyscrape run example.js --proxies "http://someproxy:8043"
flyscrape run example.js --depth 5 --follow ".next-button > a"
It would be nice to pass the url as argument to overwrite
config.url
example:
wrote this script, but now i want use for a different url in the same domain