This project is not covered by Drupal’s security advisory policy.
XPath scraper allows you to scrape data from another website by parsing html using xpath.
How does it work:
- Download and enable XPath scraper module.
- Create new module that requires XPath scraper and put the configuration at {module_name}/src/Controller/ScraperConfigController.php.
Example:
kindly see xs_test which has the following files:
xs/modules/xs_test/xpath_scraper_test.info.yml
xs/modules/xs_test/xpath_scraper_test.services.yml
xs/modules/xs_test/src/Controller/ScraperConfigController.php
- Copy example module to your custom modules folder.
- Then rename EXAMPLE_WEBSITE with your target website.
- Feel free to edit configuration and follow comments.
- Add/remove fields configuration depend on content type and target website.
XPath scraper for Drupal 8:
We are in beta stages for 8.x version. We expect to cover the most common use cases and welcome everybody to use the module.
If someone tests/uses this module and provides feedback we will be very thankful.
Please use the issue queue for anything in mind, I accept all suggestions and comments. :)
This distribution is sponsored and developed by Vardot.
Supporting organizations:
Initial building, ongoing maintenance and development
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content editing experience, Developer tools, Import and export
- Created by mahmoud-zayed on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.

