How to Take Input in Curl using xargs

Viewed 38

I have a list of urls like

example.com abc.com

I am looking to send requests to them with a custom user agent using curl like this:

curl -A 'MYUSERAGENT'

I tried this

cat admobhtpx.txt |
xargs -I{} -P10 -- curl -A 'ABC' -O -s '{}'

but it's not working properly.

0 Answers
Related