Links
The Links engine grabs content from a list of web pages that you enter. Use it for pages without a feed, such as a set of product pages or articles you picked by hand.
Output fields [oe]
| Field | Value |
|---|---|
link |
The page URL |
title |
The page title |
description |
The page's meta description |
content |
The page HTML |
specific_content |
The part of the page found with the CSS selector below |
Settings
- Links List (Basic): the page URLs, one per line.
- Specific Content (CSS Selector) (Basic): a CSS selector for the part of the page you want, such as
article .entry-contentor#main. The match goes tospecific_content. - Get CURL (Advanced): how the pages are downloaded, Level 1 to Level 4. Try another level if a site does not answer.
Example
| Setting | Value |
|---|---|
| Links List | https://example.com/news/one.html and https://example.com/news/two.html |
| Specific Content | div.article-body |
Map title to the article title and specific_content to the article text. Add Get Images on specific_content to save the images.
Tips
- Each run reads every link again. The adapter's duplicate check skips pages you already imported.
- To find the links automatically from a listing page, use Links Finder instead.
- For finer extraction, add Get XPath Content or HTML Parser on
content.