Smart Article Extractor
No credit card required
Smart Article Extractor
No credit card required
📰 Smart Article Extractor extracts articles from any scientific, academic, or news website with just one click. The extractor crawls the whole website and automatically distinguishes articles from other web pages. Download your data as HTML table, JSON, Excel, RSS feed, and more.
Do you want to learn more about this Actor?
Get a demoYou can access the Smart Article Extractor programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{
2 "startUrls": [
3 {
4 "url": "https://www.theguardian.com"
5 }
6 ],
7 "isUrlArticleDefinition": {
8 "minDashes": 4,
9 "hasDate": true,
10 "linkIncludes": [
11 "article",
12 "storyid",
13 "?p=",
14 "id=",
15 "/fpss/track",
16 ".html",
17 "/content/"
18 ]
19 },
20 "proxyConfiguration": {
21 "useApifyProxy": true
22 },
23 "extendOutputFunction": "($) => {\\n const result = {};\\n // Uncomment to add a title to the output\\n // result.pageTitle = $('\''title'\'').text().trim();\\n\\n return result;\\n}"
24}' |
25apify call lukaskrivka/article-extractor-smart --silent --output-dataset
Scrape and download articles and news API through CLI
The Apify CLI is the official tool that allows you to use Smart Article Extractor locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include:
Actor Metrics
199 monthly users
-
65 stars
>99% runs succeeded
1.2 days response time
Created in Nov 2019
Modified 4 months ago