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

Allow setting params on the command line #44

Open
Gallaecio opened this issue May 30, 2023 · 0 comments
Open

Allow setting params on the command line #44

Gallaecio opened this issue May 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Gallaecio
Copy link
Contributor

Gallaecio commented May 30, 2023

When using the command-line interface, you can either specify a list of input URLs and get their browser HTML, or specify a list of JSON object params and run those.

It may be useful to allow the URL list input in combination with a command-line parameter that allows to set parameters that are common to all URLs.

For example:

zyte-api urls.txt -p '{"httpResponseBody": true}'
@Gallaecio Gallaecio added the enhancement New feature or request label May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant