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.
Plus $9/year after one year.
Installation Instructions
To install this plugin, copy the command above to your terminal.
Active Installs
30
License
Craft
Last release
October 7, 2022
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs