$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://www.investopedia.com/stocks-4427785"
< },
< {
< "url": "https://www.investopedia.com/savings-accounts-4689728"
< },
< {
< "url": "https://www.investopedia.com/personal-finance-4427760"
< },
< {
< "url": "https://www.investopedia.com/markets-news-4427704"
< },
< {
< "url": "https://www.investopedia.com/best-online-brokers-4587872"
< }
< ],
< "dateRange": "anytime",
< "maxArticles": 100,
< "proxyConfiguration": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/glitch_404~investopedia-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'