Skip to content

Instantly share code, notes, and snippets.

@vladbatushkov
Created May 7, 2019 16:31
Show Gist options
  • Save vladbatushkov/a6599d7e50ba4affbb0c92f841979487 to your computer and use it in GitHub Desktop.
Save vladbatushkov/a6599d7e50ba4affbb0c92f841979487 to your computer and use it in GitHub Desktop.
Grab perfume brands.
WITH "https://www.fragranceoutlet.com/pages/brands" as url
CALL apoc.load.html(url, { data: "li.brand a" }) YIELD value
UNWIND value.data as brand
MERGE (b:Brand { name: brand.text, url: brand.attributes.href })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment