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

Add the ability to pipe in URL list #383

Open
chrismccoy opened this issue Jan 9, 2020 · 4 comments
Open

Add the ability to pipe in URL list #383

chrismccoy opened this issue Jan 9, 2020 · 4 comments

Comments

@chrismccoy
Copy link

any current way to do something like

 pageres < urls.txt

for a list of urls

@sindresorhus sindresorhus changed the title ability to pipe in url list Add the ability to pipe in URL list Feb 12, 2020
@sindresorhus
Copy link
Owner

Not at the moment, but PR welcome. However, you could easily do it with just a Bash loop.

Something like this:

while read -r url; do
    pageres "$url"
done < urls.txt

@chrismccoy
Copy link
Author

ya that is what im currently doing, had a client who wants to do it, but is on windows, so extra steps would be needed for bash, Powershell would be the next step.

@chrismccoy
Copy link
Author

side note, i bought dato on the appstore, great work!

@sindresorhus
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants