7.6.8. Load HTML

Scraping Data from Html Pages.

apoc.load.html('url',{name: jquery, name2: jquery}, config) YIELD value

Load Html page and return the result as a Map

This procedures provides a very convenient API for acting using DOM, CSS and jquery-like methods. It relies on jsoup library.

CALL apoc.load.html(url, {name: <css/dom query>, name2: <css/dom query>}, {config}) YIELD value

The result is a stream of DOM elements represented by a map

The result is a map i.e.

{name: <list of elements>, name2: <list of elements>}