The Scraper plugin exposes a full-featured DOM crawler object to your Twig templates, allowing you to fetch, parse, filter, and display content from remote HTML/XML documents.
{% set crawler = craft.scraper.using('symfony').get('https://zombo.com') %}
{% for node in crawler.filter('h2 > a') %}
{{ node.textContent }}
{% endfor %}
You can choose between the Symfony DomCrawler and SimpleHtmlDom engines, depending on which API feels more comfortable.
Standard
Plus $9/year after one year.
Installation Instructions
To install this plugin, copy the command above to your terminal.
Reviews
This plugin doesn't have any reviews.
Active Installs
20
License
Craft
Last release
October 27, 2020
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs