Investopedia Scraper avatar
Investopedia Scraper
Try for free

No credit card required

View all Actors
Investopedia Scraper

Investopedia Scraper

glitch_404/investopedia-scraper
Try for free

No credit card required

Investopedia Scraper will enable you to get all the Articles you want from Investopedia.com.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    {
9      "url": "https://www.investopedia.com/stocks-4427785"
10    },
11    {
12      "url": "https://www.investopedia.com/savings-accounts-4689728"
13    },
14    {
15      "url": "https://www.investopedia.com/personal-finance-4427760"
16    },
17    {
18      "url": "https://www.investopedia.com/markets-news-4427704"
19    },
20    {
21      "url": "https://www.investopedia.com/best-online-brokers-4587872"
22    }
23  ],
24  "dateRange": "anytime",
25  "maxArticles": 100,
26  "proxyConfiguration": {
27    "useApifyProxy": true
28  }
29}
30EOF
31
32# Run the Actor using an HTTP API
33# See the full API reference at https://docs.apify.com/api/v2
34curl "https://api.apify.com/v2/acts/glitch_404~investopedia-scraper/runs?token=$API_TOKEN" \
35  -X POST \
36  -d @input.json \
37  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 7 monthly users
  • 4 stars
  • 100.0% runs succeeded
  • Created in Jan 2024
  • Modified 6 months ago
Categories