
CBC Scraper
maria.f/cbc-scraper
Scrape news data from cbc.ca with this unofficial API. Extract articles, monitor their popularity and performance and automate the fight against fake news. Filter the results by authors, topics, categories, or publication dates. Preview or download the results in your preferred format.
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 mode
# Set API token
API_TOKEN=<YOUR_API_TOKEN>
# Prepare Actor input
cat > input.json <<'EOF'
{
"startUrls": [
{
"url": "https://www.cbc.ca/"
}
],
"maxArticlesPerCrawl": 100
}
EOF
# Run the Actor
curl "https://api.apify.com/v2/acts/maria.f~cbc-scraper/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'
Developer
Maintained by Community
Actor stats
- 2 users
- 558 runs
- Modified over 1 year ago
Categories